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
|
@ -354,6 +354,7 @@ static errno_t _pthread_cancel_everyone(void) {
|
|||
*/
|
||||
errno_t pthread_cancel(pthread_t thread) {
|
||||
struct PosixThread *arg;
|
||||
unassert(thread);
|
||||
if ((arg = (struct PosixThread *)thread)) {
|
||||
return _pthread_cancel_single(arg);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue