[Patch] C1X threading support

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Dec 17 21:22:02 UTC 2011


In message <20111216223126.GX50300 at deviant.kiev.zoral.com.ua>, Kostik Belousov 
writes:

>> 	http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
>BTW, it looks not very useful to add a bunch of threading functions
>without at least trying to specify the memory model.

I have never fully understood what goal these sequential obesity-binges
from ISO-C serve.

Structure packing ?

Nahh, nobody uses that.

Big/Little Endian API ?

Naah, nobody moves binary data between computers.

Ohhh, but I know:  Lets make a rival to the POSIX threads, we can do it
much better and slightly incompatible, big market there I'm sure.

What ?

A "assert mutex is held" facility ?

Why would you want that ?  Just write perfect code to begin with!

Bang! Bang! Bang! &c &c...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list