mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Add pthread attributes and other libc functions
This commit is contained in:
parent
d5c9308a43
commit
4339d9f15e
81 changed files with 1111 additions and 428 deletions
|
@ -27,5 +27,5 @@
|
|||
int pthread_equal(pthread_t t1, pthread_t t2) {
|
||||
struct PosixThread *a = t1;
|
||||
struct PosixThread *b = t2;
|
||||
return a->tid == b->tid;
|
||||
return a->spawn.ptid == b->spawn.ptid;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue