>
> You must make the curl_multi_add_handle function run in the loop 
> thread. An async handle could help you with that. But watch out with 
> where you call uv_async_init, only, I repeat *ONLY* uv_async_send is 
> thread-safe. 
>

That was it!
Thanks!
I used std::queue with mutexes.
Now I'm searching the web for some lock-free concurent queue. 
--
regards
Przemysław Sobal

-- 
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 libuv+unsubscr...@googlegroups.com.
To post to this group, send email to libuv@googlegroups.com.
Visit this group at https://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to