|
Message-ID: <1409177505.4476.75.camel@eris.loria.fr> Date: Thu, 28 Aug 2014 00:11:45 +0200 From: Jens Gustedt <jens.gustedt@...ia.fr> To: musl@...ts.openwall.com Subject: C threads, v. 6.2 Hello, so here is a "conservative" version that I would consider a candidate for release. - the "magic" constants are now those that Rich proposed to the glibc people. As a consequence many C thread wrappers are no tail calls to the POSIX functions but consist in a switch statement that translates the error conventions from POSIX to C. - this is directly based on the POSIX control structures. Since now these use private futexes properly, there is no emergency to implement C control structures seperately - the biggest code change is for pthread_create.c. Most common code has moved to a new TU pthread_exit.c. pthread_create and thread_create are implemented in two different TU. - a lot of minor changes to avoid dragging in symbols in the wrong namespaces. Jens -- :: INRIA Nancy Grand Est ::: AlGorille ::: ICube/ICPS ::: :: ::::::::::::::: office Strasbourg : +33 368854536 :: :: :::::::::::::::::::::: gsm France : +33 651400183 :: :: ::::::::::::::: gsm international : +49 15737185122 :: :: http://icube-icps.unistra.fr/index.php/Jens_Gustedt :: View attachment "thrd11-v6.2.patch" of type "text/x-patch" (56692 bytes) Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.