Original Post
I consider thread <-> thread function relation is same as main process <-> int main() function relation.
According to this definition (if it's right) can I do anything that I can do in main() with a thread function?
and with anything I mean; instantiating and destroying classes, making all sorts of Windows API calls, inline assembly including device control, initializing and using external libraries or dlls, creating and using opengl context and everything...
According to this definition (if it's right) can I do anything that I can do in main() with a thread function?
and with anything I mean; instantiating and destroying classes, making all sorts of Windows API calls, inline assembly including device control, initializing and using external libraries or dlls, creating and using opengl context and everything...