mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-31 17:52:27 +00:00
Make some improvements of little consequence
This commit is contained in:
parent
690d3df66e
commit
18a620cc1a
11 changed files with 92 additions and 14 deletions
|
@ -62,6 +62,7 @@ static errno_t pthread_detach_impl(struct PosixThread *pt) {
|
|||
* @returnserrno
|
||||
*/
|
||||
errno_t pthread_detach(pthread_t thread) {
|
||||
unassert(thread);
|
||||
struct PosixThread *pt = (struct PosixThread *)thread;
|
||||
errno_t err = pthread_detach_impl(pt);
|
||||
STRACE("pthread_detach(%d) → %s", _pthread_tid(pt), DescribeErrno(err));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue