mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Make improvements
- Improve compatibility with Blink virtual machine - Add non-POSIX APIs for joining threads and signal masks - Never ever use anything except 32-bit integers for atomics - Add some `#undef` statements to workaround `ctags` problems
This commit is contained in:
parent
b46ac13504
commit
f2af97711b
114 changed files with 902 additions and 363 deletions
|
@ -32,7 +32,7 @@
|
|||
int pfds[2];
|
||||
pthread_cond_t cv;
|
||||
pthread_mutex_t mu;
|
||||
atomic_bool gotcleanup;
|
||||
atomic_int gotcleanup;
|
||||
char testlib_enable_tmp_setup_teardown;
|
||||
|
||||
void SetUp(void) {
|
||||
|
@ -198,7 +198,7 @@ TEST(pthread_cancel, condDeferredWaitDelayed) {
|
|||
char *wouldleak;
|
||||
pthread_key_t key;
|
||||
bool key_destructor_was_run;
|
||||
atomic_bool is_in_infinite_loop;
|
||||
atomic_int is_in_infinite_loop;
|
||||
|
||||
void KeyDestructor(void *arg) {
|
||||
CheckStackIsAligned();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue