Age | Commit message (Collapse) | Author |
|
libpthread code).
|
|
libpthread code).
|
|
|
|
|
|
call right sycall after threadfn return
|
|
|
|
raceable.
|
|
|
|
libpthread code).
|
|
|
|
|
|
existing libpthread code.
|
|
must be called with the thread_lock held, or we crash in rfork_thread
|
|
|
|
interfaces that aren't static, and a few that are but which will change
|
|
but still have the callers check for good measure).
prompted by miod "err() in a library???"
|
|
|
|
ok tedu
|
|
deal with machines that have upside down stacks
|
|
started by miod
|
|
Help deraadt, tedu, kettenis
Ok tedu, kettenis
|
|
pthread_concurrency -> pthread_setconcurrency
|
|
|
|
|
|
add pthread_get/set_stack[addr] (info not used yet)
|
|
|
|
|
|
ok deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
but some of the functions are here now.
|
|
|
|
possible
|
|
|
|
1. the time was off by a factor of 10
2. wouldn't return error code if timeout was reached
3. the big one. thrsleep syscall doesn't return EWOULDBLOCK. it
returns -1 and puts the error in errno. doh.
|
|
|
|
value if there are no waiters.
|
|
ok brad
|
|
|
|
defines the pthread_once_t internals, so we're stuck with them.
|
|
Maxim Bourmistrov noticed.
|
|
|
|
From Tim Wiess <tim at nop dot cx>
ok drahn@
|