fixed: CApplicationMessenger would crash if while processing the last window message...
authorelupus <elupus@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Wed, 12 Nov 2008 20:00:20 +0000 (20:00 +0000)
committerelupus <elupus@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Wed, 12 Nov 2008 20:00:20 +0000 (20:00 +0000)
commit9445aa14ce2de9af1f38f4e7618cbedb73bd402d
tree9792ef6541d074a8f12a7ec3df5f1736490c6e27
parent549af00a05d0358650f400068bdf762a4695a6f4
fixed: CApplicationMessenger would crash if while processing the last window message, another thread (or the same thread) added yet another message to the queue
changed: allow thread sending a window message to wake up directly after message have been processed by avoiding relocking critical section when deleting the message event, as it is guaranteed to have been processed by then.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC@16155 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
xbmc/ApplicationMessenger.cpp