version 1.35.6.2, 2013/04/29 01:50:18 |
version 1.36, 2012/04/04 06:29:16 |
Line 81 __RCSID("$NetBSD$"); |
|
Line 81 __RCSID("$NetBSD$"); |
|
|
|
#include "pthread.h" |
#include "pthread.h" |
#include "pthread_int.h" |
#include "pthread_int.h" |
#include "reentrant.h" |
|
|
|
int pthread__cancel_stub_binder; |
int pthread__cancel_stub_binder; |
|
|
Line 129 int ____sigtimedwait50(const sigset_t * |
|
Line 128 int ____sigtimedwait50(const sigset_t * |
|
int __sigsuspend14(const sigset_t *); |
int __sigsuspend14(const sigset_t *); |
|
|
#define TESTCANCEL(id) do { \ |
#define TESTCANCEL(id) do { \ |
if (__predict_true(!__uselibcstub) && \ |
if (__predict_false((id)->pt_cancel)) \ |
__predict_false((id)->pt_cancel)) \ |
|
pthread__cancelled(); \ |
pthread__cancelled(); \ |
} while (/*CONSTCOND*/0) |
} while (/*CONSTCOND*/0) |
|
|