mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
17 lines
374 B
C
17 lines
374 B
C
|
#ifndef COSMOPOLITAN_LIBC_THREAD_DETACH_H_
|
||
|
#define COSMOPOLITAN_LIBC_THREAD_DETACH_H_
|
||
|
#include "libc/thread/descriptor.h"
|
||
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||
|
COSMOPOLITAN_C_START_
|
||
|
|
||
|
/**
|
||
|
* @fileoverview detach a thread
|
||
|
*/
|
||
|
|
||
|
int cthread_detach(cthread_t);
|
||
|
|
||
|
COSMOPOLITAN_C_END_
|
||
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||
|
#endif /* COSMOPOLITAN_LIBC_THREAD_DETACH_H_ */
|
||
|
|