version 1.13, 2009/01/11 02:46:48 |
version 1.14, 2009/08/12 23:51:23 |
Line 50 __RCSID("$NetBSD$"); |
|
Line 50 __RCSID("$NetBSD$"); |
|
int pthread__sched_yield(void); |
int pthread__sched_yield(void); |
|
|
int _sys___sigprocmask14(int, const sigset_t *, sigset_t *); |
int _sys___sigprocmask14(int, const sigset_t *, sigset_t *); |
int _sys___nanosleep50(const struct timespec *, struct timespec *); |
|
int _sys_sched_yield(void); |
int _sys_sched_yield(void); |
int __nanosleep50(const struct timespec *, struct timespec *); |
|
|
|
__strong_alias(__libc_thr_sigsetmask,pthread_sigmask) |
__strong_alias(__libc_thr_sigsetmask,pthread_sigmask) |
__strong_alias(__sigprocmask14,pthread_sigmask) |
__strong_alias(__sigprocmask14,pthread_sigmask) |
Line 150 pthread_sigmask(int how, const sigset_t |
|
Line 148 pthread_sigmask(int how, const sigset_t |
|
return 0; |
return 0; |
} |
} |
|
|
#ifndef lint |
|
int |
|
__nanosleep50(const struct timespec *rqtp, struct timespec *rmtp) |
|
{ |
|
|
|
/* |
|
* For now, just nanosleep. In the future, maybe pass a ucontext_t |
|
* to _lwp_nanosleep() and allow it to recycle our kernel stack. |
|
*/ |
|
return _sys___nanosleep50(rqtp, rmtp); |
|
} |
|
#endif |
|
|
|
int |
int |
pthread__sched_yield(void) |
pthread__sched_yield(void) |
{ |
{ |