Commit Graph

11 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
0043daaaa3 NetBSD 2.99.11 (any maybe 2.1) just needs pthread.h, threadlib is dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-18 16:03:38 +00:00
Love Hörnquist Åstrand
b4fc4e3eb4 include pthread.h in the pthread case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 20:16:50 +00:00
Love Hörnquist Åstrand
7c8f875744 XXX don't use "plain" pthread support on netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 20:11:58 +00:00
Love Hörnquist Åstrand
cef811fcb6 make the non-debug version of the mutex macros "use" the "mutex"
integer so the compile wont complain about defined unused variables


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 21:10:50 +00:00
Love Hörnquist Åstrand
3f2394ad11 make thread local storage macros take a "return" argument so no
functions need to be created for the no-pthread case


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:57:58 +00:00
Love Hörnquist Åstrand
df6940ae2b only enable netbsd thread support if ENABLE_PTHREAD_SUPPORT is defined (so it can be disabled)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:13:12 +00:00
Love Hörnquist Åstrand
e2a4344ba6 adding RWLOCKS and [sg]etspecific
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:00:06 +00:00
Love Hörnquist Åstrand
b981c8861d remove freebsd comment, don't use debug pthread stubs by default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:36:12 +00:00
Assar Westerlund
eb49552f69 Fix unlock/destroy macros for the non-threaded cases to work. Fix typo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-28 20:13:36 +00:00
Love Hörnquist Åstrand
ec8cfb3623 add missing argument to mutex_init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 22:23:48 +00:00
Love Hörnquist Åstrand
cec7e2f443 wrapper macros for thread synchronization primitives
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 20:41:46 +00:00