Home » U++ Library support » U++ MT-multithreading and servers » DnD hangs in MT Refresh()ing
Re: DnD hangs in MT Refresh()ing [message #24915 is a reply to message #24894] |
Thu, 04 February 2010 12:37 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
hi mirek,
i didn't quite get the point.. why should Start not return, it simply posts 10 tasks to the CoWork, which is not blocking normally..(not permanentl, besides accessing internals of CoWork protected by internal Critical Section).
the indicater for closinfg was the dtor of App() setting a flag, by that timethe application was dying, the threads could not comlete their Refresh.. thus not releasing GuiLock. and the dtor could not complete cause of CoWork dtor Finish() call. but why should the App dtor run in GuiLock mode??
nevertheless, here is a version using the same waiter Thread trick, recently used in my WorkQueueTest example..
this one should quit correctly..which might be a general approach of how to close/shutdown an MT application with other threads using GuiLock __;..
-
Attachment: CoWork.rar
(Size: 7.39KB, Downloaded 232 times)
|
|
|
|
|
DnD hangs in MT Refresh()ing
By: kohait00 on Thu, 28 January 2010 16:58
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Thu, 28 January 2010 23:55
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Fri, 29 January 2010 00:22
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Fri, 29 January 2010 08:45
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Fri, 29 January 2010 09:32
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Fri, 29 January 2010 10:31
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Fri, 29 January 2010 11:17
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Fri, 29 January 2010 11:28
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Fri, 29 January 2010 11:46
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Fri, 29 January 2010 11:57
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Fri, 29 January 2010 11:58
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Fri, 29 January 2010 12:48
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Fri, 29 January 2010 12:30
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Fri, 29 January 2010 10:34
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Fri, 29 January 2010 13:08
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Fri, 29 January 2010 13:21
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Fri, 29 January 2010 13:32
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Fri, 29 January 2010 14:49
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Fri, 29 January 2010 16:40
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Fri, 29 January 2010 19:43
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Mon, 01 February 2010 14:52
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Tue, 02 February 2010 19:15
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Wed, 03 February 2010 12:32
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Thu, 04 February 2010 12:37
|
|
|
Re: DnD hangs in MT Refresh()ing
By: mirek on Fri, 05 February 2010 10:43
|
|
|
Re: DnD hangs in MT Refresh()ing
By: kohait00 on Mon, 08 February 2010 21:55
|
Goto Forum:
Current Time: Fri May 10 14:03:02 CEST 2024
Total time taken to generate the page: 0.02880 seconds
|