Update to new code
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ void *reader(void *arg)
|
||||
for (i = 0; i < CNT/2; i++) {
|
||||
struct uc_threadmsg *msg;
|
||||
struct my_msg *my;
|
||||
if (uc_thread_queue_get(&queue, NULL, &msg) != 0) {
|
||||
if (uc_thread_queue_get(&queue, &msg) != 0) {
|
||||
printf("uc_threadqueue_get failed\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user