Home » U++ Library support » U++ MT-multithreading and servers » DnD hangs in MT Refresh()ing
Re: DnD hangs in MT Refresh()ing [message #24743 is a reply to message #24741] |
Fri, 29 January 2010 09:32 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
got some investigation on it (on MY app, not the CoWorker, but should be similar, i checked it, it behaves like that):
the problem even occurs with only 1 worker thread
(replacing the whole CoWork co with a Thread th and Run() the DoRefresh cb there)
DoCall() in Win32Wnd.cpp:747 always returns true (because NonMain counter is up to 25), so the ProcessEvent(bool *quit) cant go on processing other stuff and do a repaint on gui or dispatch user events.
the sGLock is owned by GUI thread, GuiSleep is running and so releasing GUI mutex sGLock from time to time, so potential other threads in need of gui lock, should run right.
the NonMainLock is owned by a worker thread and is not released anymore, there comes the deadlock, but NOT with the gui mutex, for sure, maybe the semaphore.wait in ICall or Call interface.
What is the NonMainMutex actually for? i think that is more or less the problem..
any idea?
[Updated on: Fri, 29 January 2010 09:36] Report message to a moderator
|
|
|
|
|
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 15:06:54 CEST 2024
Total time taken to generate the page: 0.04442 seconds
|