A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Michael Martin 0a6bb0f70d [Win32k]
- co_IntSendMessageWithCallBack: Insert the message into the messagequeue before attempting to wake the queue. Probably fixes bug 5580.
- Remove the use of MSQ_SENTNOWAIT that was used to determine if messagequeues needed dereferencing. Instead use the SenderQueue member of the message.
- Do not close the NewMessagesHandle member of the messagequeue in IntDereferenceMessageQueue. 
The last reference on a messagequeue could be released by a thread belonging to a process other than the on that created the handle.
Also the creating process could already be long gone. Instead close this handle in MsqDestroyMessageQueue which is in the thread/process that created the handle. Problem noticed by smiley.
- Revert change done in 51254. James you are indeed correct. 
Testing shows that the WM_PARENTNOTIFY message is not sent when the program is exiting.

svn path=/trunk/; revision=51275
2011-04-07 23:57:00 +00:00
reactos [Win32k] 2011-04-07 23:57:00 +00:00
rosapps [SYSTEMINFO] 2011-04-05 21:20:42 +00:00
rostests [CMAKE] 2011-04-06 13:28:32 +00:00
wallpaper