29.08.2009, 17:37
Quote:
Originally Posted by ssǝן‾ʎ
No, polling by calling a native is what I was saying not to do in the first place, just poll the message queue from the main thread. Most threads have main loops, that's how programs work, by looping through code repeatedly, like a timer does but better (you can actually do this in the main() PAWN function too as it's such a fundamental coding technique. From this main loop you poll the message queue, and if a message is present then call the callbackk.
|