2014-04-02 12:47 GMT+02:00 Saúl Ibarra Corretgé <[email protected]>:
> We could have a uv_thread_id_t opaque struct (union really) which
> stored both Windows and Unix representations, and have a
> uv_thread_compare function that does the equivalent of pthread_compare.

Ohh, the answer I was looking for was "every *nix and BSD flavors
return an unsigned long, so this is the way to go".

In fact I rely on that in my code as I store the returned value of
uv_thread_self in a map whose keys are unsigned longs.




-- 
Iñaki Baz Castillo
<[email protected]>

-- 
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