]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/threads.c
Solved mainloop race by selfpipe
[libucw.git] / ucw / threads.c
index ec839f8c0086a352f36be5de81d7a9b76d50156c..1260e8759ae1a3b0ee96303e850c752bba6ec3eb 100644 (file)
@@ -116,7 +116,7 @@ int main(void)
 {
   ucwlib_lock();
   ucwlib_unlock();
-  log(L_INFO, "tid=%d", ucwlib_thread_context()->thread_id);
+  msg(L_INFO, "tid=%d", ucwlib_thread_context()->thread_id);
   return 0;
 }