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 #1848 is a reply to message #1847] |
Thu, 23 March 2006 00:14  |
hojtsy
Messages: 241 Registered: January 2006 Location: Budapest, Hungary
|
Experienced Member |
|
|
I was using XML.
The library function that is running in the threads during exit is the HttpClientGet. I see no other clean way for using the HttpClient than creating own thread for the communication, so that GUI remains responsive.
I guess I could create and pass a progress callback which stops these functions when exit is requested. Then I would need to count active threads somehow: the best solution would be to manage the thread count in the sThreadRoutine library function, instead of attempting to implement this in multiple client apps. Also the Core package could provide a WaitUntilThreadsExit function, which would wait on the semaphor of this thread count. Than I would somehow invoke the WaitUntilThreadsExit function when exit is requested. These desired library features seems to be usefull for practically every MT app.
|
|
|
Goto Forum:
Current Time: Mon Aug 18 01:48:13 CEST 2025
Total time taken to generate the page: 0.05495 seconds
|