-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Heya!

The main issue, of course is that `uv_run()` is blocking and needs to be
interrupted on the most of the calls. Making queues thread safe is
certainly not
a big deal, if it is a compile-time option, but adding signaling for
`uv_run()`
will neglect all pros of this for you.

Unfortunately, I am not aware of the windows side too, and I'd like to hear
some comments either from Bert or Saul.

Cheers,
Fedor.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTR5d0AAoJEPsOEJWxeXmZKBgP/jTmgFEbWmt08WGrFjyRf54o
PxcYgQE+JHiimT5WwtblCWwstPY5infmSw5Gce+hivDsD1HK9YUVJE/eXLe+6cOd
yb/KtR5bohBq1Htob/hp3waUztR7OfqgHXcbjDK7PSaJFiO+vS+dPgkJn/04zSHH
WznF1nrth/Z8dv3UPJZRBpj6hAvK4LwId48rJ/kj20iQk/XY0pcv86kqxQ9+n4dA
9nwgfLmy3rq5hIdi5lzw7GJzo7tGiiXrSNIuaju7a2vk5esJ/fqIHbgvqrGn2oe5
5AgQFyCiuKNMEvwqyZTGq8pLTz7jD3aHU/mprhcjCJOhWWL2H9Xv7vNsA+bEvggX
A3/UlezzGGWwvXnbg/CXGghAh1Gm2c2nV+vdVVzFU7ulpSgdg4hKKiaXO/UQPjdu
BWAf/FyYidgHrS2Jpqrk2b+J1vtbjNbW9r+PJDpNbI6Y7HPA0Sj0/q61utRB7oS4
y88ypT4eO0VH3aYnoxGv6j8re159kLyClZ7dmZz34QmCFE+MIXD6ZrsKum+l2O4b
PQKvT3LL8NpQ8gijNM97EpKz0fkaAaCDlL6s5OJhFaf8+SHZqFi9s9S8ohdaSDHE
LHmQE6g8ddjMrGaIyrh0AKXw/X9sSApvegj0f9B2e1cwkZ04WIe/g4pWseSCy39G
8GpUARr7NzqBrzXaFSV7
=kcKq
-----END PGP SIGNATURE-----


On Fri, Apr 11, 2014 at 4:42 AM, Trevor Norris <[email protected]>wrote:

> I'd like to have a discussion on the possibility/difficulty on making
> libuv thread safe, what are the trade offs in terms of performance, etc.
>
> I'm finding myself in a position where needing to sink with the main
> thread in order to init stuff like timers is very costly. As far as I can
> see from the *nix side the main issue is because of the way handles are
> placed in the queue. Though I'm not familiar with how it is handled on the
> win side.
>
> I'm willing to give it a go, but would like feedback before attempting
> such an endeavor.
>
> /trev
>
> --
> 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 http://groups.google.com/group/libuv.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to