Reputation: 314
So i wanted to handle the win32 event callbacks from a separate thread so that i can handle other stuff in the background
I've tried std::thread
but the declaration GetMessage(LPMSG,HWND,UINT,UINT)
will only work with a window that is on the current thread
std::thread(EventThread) ; // i want to do this
So, Is there any way to wait for the events and stuff from another thread? Any help will be appreciated !
Bye, Samuel
Upvotes: 0
Views: 66