I have server process that is accepting messages over the network and 
writing the information to an SQLite database. Because the database access 
is slowing down the main loop thread, I have moved the database processing 
into another long running thread and am using a mutex/condvar protected 
queue to pass over the messages. This is all working.

After queuing the last message, the main loop thread waits, using 
uv_thread_join, for the database thread to completed. Roughly four times 
out of fives, the uv_thread_join never returns and the main loop thread 
hangs.

My diagnostics show that there is no apparent difference in flow between a 
successful and a failing run.

Any suggestions? 

Mal

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to