diff options
author | jake <jake@FreeBSD.org> | 2003-04-03 03:34:50 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-04-03 03:34:50 +0000 |
commit | 5b2b2811a19544037b626ef44e598691b3b2f525 (patch) | |
tree | d95f2bb910f0eebc71243aa5c4f13994c66da5ec /libexec/talkd/table.c | |
parent | 12c39a9461b4db1d8608dca0cb0cfc47ff8b234e (diff) | |
download | FreeBSD-src-5b2b2811a19544037b626ef44e598691b3b2f525.zip FreeBSD-src-5b2b2811a19544037b626ef44e598691b3b2f525.tar.gz |
- Pass a ucontext_t to _set_curthread. If non-NULL the new thread is set
as curthread in the new context, so that it will be set automatically when
the thread is switched to. This fixes a race where we'd run for a little
while with curthread unset in _thread_start.
Reviewed by: jeff
Diffstat (limited to 'libexec/talkd/table.c')
0 files changed, 0 insertions, 0 deletions