mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
Add sb_GetTID for NetBSD
patch by Masatoshi SANO
This commit is contained in:
parent
cd95e5ac61
commit
ff9064c9c8
|
|
@ -49,6 +49,9 @@
|
|||
#if defined __DragonFly__
|
||||
#include <sys/lwp.h>
|
||||
lwpid_t sb_GetTID() { return lwp_gettid(); }
|
||||
#elif defined __NetBSD__
|
||||
#include <lwp.h>
|
||||
int sb_GetTID() { return _lwp_self(); }
|
||||
#elif defined __FreeBSD__
|
||||
#include <sys/thr.h>
|
||||
int sb_GetTID()
|
||||
|
|
|
|||
Loading…
Reference in a new issue