new CLONE definitions for sched.h
Tino Reichardt <[email protected]>
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
Hello list, here is a small patch[1] which adds some new CLONE_* definitions to sched.h... What do others think about using gcc atomic builtins [2] as lock/unlock mechanism for the implementation of pthread_lock/unlock ? [1] http://www.mcmilk.de/dl/sched-flags.diff [2] http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Atomic-Builtins.html -- regards, TR