Using new API for message queue.
This commit is contained in:
parent
8d6f49c01a
commit
4a1e9d2e4e
@ -29,7 +29,7 @@ int TestMessageQueue(int argc, char* argv[])
|
|||||||
HANDLE thread;
|
HANDLE thread;
|
||||||
wMessageQueue* queue;
|
wMessageQueue* queue;
|
||||||
|
|
||||||
queue = MessageQueue_New();
|
queue = MessageQueue_New(NULL);
|
||||||
|
|
||||||
thread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) message_queue_consumer_thread, (void*) queue, 0, NULL);
|
thread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) message_queue_consumer_thread, (void*) queue, 0, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user