This is a little embarassing asking this because I used to know this. How do you create a seperate thread in C++ and have mutexes, semiphores and all that. I have forgotten and I wonder if anyone knows a good example.
How do I open a window in a seperately called thread of execution?
I cannot do it in MFC because MFC requires its own thread of execution.
But even when I create a windows app without MFC, it seems entry point. _t winMain is called by an main thread of execution nested in a microsoft routine. I want my own thread to call my own winmain. How do I do this?
(Maybe I need to look at the mozilla open source to see)