[Patch] C1X threading support

Ed Schouten ed at 80386.nl
Fri Dec 16 22:20:00 UTC 2011


Hello Kostik,

* Kostik Belousov <kostikbel at gmail.com>, 20111216 23:09:
> If application that does not use the new interface supposed to be
> able to implement function with new names, then the not-underscored
> symbols must be weak.

For example when an application wants to implement its own functions
that are named thrd_*(), for example?

> pthread_cond_init does not set errno, it returns error.
> There are several more instances of such errno use in the patch.

Oh wait. It returns the errno. Ugh. Fixed!

> Do you have reference to the draft ?

Yes, sure:

	http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf

Groetjes,
-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20111216/0d92c8ca/attachment.pgp


More information about the freebsd-threads mailing list