Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Assertion in Debug.cpp:246 "nesting_depth == 0" [BUGS?]
Re: Assertion in Debug.cpp:246 "nesting_depth == 0" [message #1846 is a reply to message #1844] Wed, 22 March 2006 20:37 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
hojtsy wrote on Wed, 22 March 2006 13:24

I have threads running on exit because those threads are waiting for very slow HTTP servers to respond (inside library method). Since U++ does not provide thread termination, and I can not notify the library function to stop waiting, I would have to wait for the download attempts to time out, which could be 1 minute. It is not acceptable to wait 1 minute for application termination.



Actually, this is quite interesting topic to resolve:

- first, it is IMO impossible to correctly terminate the thread the "hard" way - in C++, many resources would be left allocated. What would indeed be needed is some form of "forced thread exception"... (is that possible)?

- lefts us with "soft" way - somehow signalling to the thread that it should terminate. In "GuiMT" example, I am doing that using active checking of "terminated" state, but that of course is not a very good way...

Any suggestions in this area are welcome!

Quote:


I am not using TIMING or RTIMING in my application, so they should be in the library.


OK, I will run "find in files" Smile

Mirek

[Updated on: Wed, 22 March 2006 20:38]

Report message to a moderator

 
Read Message BugQuestion.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: To Save setup settings buttons
Next Topic: Wizard(s) for various class generation...[FEATURE REQUEST][WORKAROUND]
Goto Forum:
  


Current Time: Mon Aug 18 01:48:06 CEST 2025

Total time taken to generate the page: 0.08261 seconds