-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/02/2014 12:51 PM, Iñaki Baz Castillo wrote: > 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. >
That might have been the reason, but I don't know it. - -- Saúl Ibarra Corretgé bettercallsaghul.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBAgAGBQJTO+5eAAoJEEEOVVOum8BZ9QQQAKkY0NpWQArrpF3HklLcztFG OdRGV61qY/h3/ODI5881LXYMzlLT0EWoufxcigSDa/fnB9/8PLqlmDHycJGRKmJE Ct+DNzccnEr2m3fQFn8qfVANMVMqKocCNvENd0bydTdMkfTBJe72ehn08DjG0DMG jpdspZMI+C5l3bjEvJ8hGptpzCRPxQHZGTHBxdS1OQrekcx9kt7+9EFQ/E/yyf94 OIlDohd7BMbGy+ima1gM5WHGGg6hfzrmHFRq25HzFhho9VswsSW01aZKSzda1ISn xM/+boU6Ht2L17zE957/L7O7AouVbagNb+udaKzPIyDYGHDv9JVq13hvkm5xn+nT 25jbPFInwRTN22lCx7f2cmIhoXOeuSlKRjrQou97OQsyJDefGzjFaPCl6yw20luP cVBJxVA0y3ES1B1hFcCj5C3XbUYfYLcsauBl4fGo6gRO2Dr908+KOyxpkF62I+Ht nDDh7vHKWUXCQZI2B3tRRoQAzqrQLCB/nW0qsIHoMvChtWjkvDwmqPV4cH02CIEp i7mxalfmzz4dzy8IdbVyBqZxbf0MFWKm4MvW0xh7PXef4FK3fhdp1g38SxK1QBPt SMQJxwO8xTX2J80LsIha0vnN70C0sNWrqHsRKrQnoHNaYEh0r7ON0XRRecF7d+Mv 7Byk8yvZWSgyrPc4rU9D =YVbo -----END PGP SIGNATURE----- -- 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.
