[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Sun Mar 15 10:55:53 CET 2009
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 09/03/15 10:55:53
Modified files:
cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3
ThreadPThread.m3
ThreadPThreadC.c
cm3/m3-libs/m3core/src/unix/Common/: Upthread.i3
cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3
cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3
cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3
cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3
cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3
cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3
cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3
Log message:
Remove platform specific type pthread_key_t, the same way that the
statically allocated pthread_mutex_t and pthread_cond_t were
removed.
For any given:
pthread_key_create(foo);
pthread_setspecific(foo, value);
pthread_getspecific(foo);
replace with:
pthread_key_create_foo();
pthread_setspecific_foo(value);
pthread_getspecific_foo();
which are implemented in C.
More information about the M3commit
mailing list