Using new API for message queue.

This commit is contained in:
Armin Novak 2013-11-12 15:18:45 +01:00
parent 8d6f49c01a
commit 4a1e9d2e4e

View File

@ -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);