Name: Anonymous 2007-11-01 8:32
In case of event driven programs, i usually don't want to do anything in the main thread (except init, and start the other threads ofc). The problem is, that the program exits when the main function ends.
I usually do a while(true) Sleep() to make the main function go on forever, but that's not quite... elegant. Is there a proper solution for this problem?
I usually do a while(true) Sleep() to make the main function go on forever, but that's not quite... elegant. Is there a proper solution for this problem?