Test rwlock more

This commit is contained in:
Justine Tunney 2024-12-14 09:39:51 -08:00
parent 69402f4d78
commit 9cc1bd04b2
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
5 changed files with 230 additions and 39 deletions

11
libc/testlib/trace.h Normal file
View file

@ -0,0 +1,11 @@
#ifndef COSMOPOLITAN_LIBC_TESTLIB_TRACE_H_
#define COSMOPOLITAN_LIBC_TESTLIB_TRACE_H_
COSMOPOLITAN_C_START_
void cosmo_trace_set_pid(int);
void cosmo_trace_set_tid(int);
void cosmo_trace_begin(const char*);
void cosmo_trace_end(const char*);
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_TESTLIB_TRACE_H_ */