diff options
author | Thomas Pfaff <tpfaff@gmx.net> | 2003-06-24 20:14:01 +0000 |
---|---|---|
committer | Thomas Pfaff <tpfaff@gmx.net> | 2003-06-24 20:14:01 +0000 |
commit | e1e196a225a1fee14447b5ef409c5b3890f98334 (patch) | |
tree | 58657e1abe9c0a82f29fce455a0213425a1988d7 /include/xregex2.h | |
parent | b8f7ea5ccba184f7a3718312a186b8ea45a153ed (diff) | |
download | cygnal-e1e196a225a1fee14447b5ef409c5b3890f98334.tar.gz cygnal-e1e196a225a1fee14447b5ef409c5b3890f98334.tar.bz2 cygnal-e1e196a225a1fee14447b5ef409c5b3890f98334.zip |
* thread.cc (MTinterface::fixup_after_fork): Fix thread list after fork.
(pthread::threads): Instantiate.
(pthread::pthread): Initialize running and suspendend.
Initialize next with NULL.
Add thread to thread list if it is not the null_pthread.
(pthread::~pthread): Remove thread from thread list if it is not the null_pthread.
(pthread::postcreate): Set running flag.
(pthread::exit): Reset running flag.
(pthread::cancel): Try to cancel thread only if still running.
(pthread::_fixup_after_fork): Implement.
(pthread::detach): Check if thread is still running before detach.
* thread.h (pthread::running): New member.
(pthread::next): Ditto.
(pthread::fixup_after_fork): New static method.
(pthread::threads): New static method.
(pthread::_fixup_after_fork): New method.
Diffstat (limited to 'include/xregex2.h')
0 files changed, 0 insertions, 0 deletions