367 Commits (a963040f0a40c5cd0032ffdbf80716611bf84c20)
 

Author SHA1 Message Date
Andrew Brown 451065469a
threads: add `pthread_attr_setdetachstate` (#382) 2 years ago
Mike Hommey 04431e56b2
Remove hacks for clang 8 (#384) 2 years ago
Mike Hommey 16a694035f
Adjust Makefile for LLVM trunk (16) as of 2023-01-05 (#379) 2 years ago
YAMAMOTO Takashi a1c7c2c7a4
Use __BIGGEST_ALIGNMENT__ instead of max_align_t (#375) 2 years ago
Alex Crichton f2aac5f3b1
Don't use sbrk(0) to determine the initial heap size (#377) 2 years ago
YAMAMOTO Takashi 5a255d5af1
__init_tp: Initialize TID to non-zero value (#360) 2 years ago
YAMAMOTO Takashi 35fee1d900
Implement the critical part of wasi_thread_start in asm (#376) 2 years ago
Shengyun Zhou 082a15c5a9
Enable pthread_equal function definition (#374) 2 years ago
YAMAMOTO Takashi 7461de1b6d
Use a separate OBJDIR for each TARGET_TRIPLE (#373) 2 years ago
YAMAMOTO Takashi ebd3240030
wasi_thread_start: add a comment (#371) 2 years ago
Dan Gohman b8aa39947d
Use `ENOENT` rather than `ENOTCAPABLE` for missing preopens. (#370) 2 years ago
YAMAMOTO Takashi b36b752bd7
Disable pthread_exit for now (#366) 2 years ago
Marcin Kolny 957c7113c3
threads: Retrieve default stack size from __heap_base/__data_end (#350) 2 years ago
YAMAMOTO Takashi dfad6fecc9
Reduce over-allocation of stack (#365) 2 years ago
Petr Penzin fb9c9223ca
Add a separate install target for threaded libc (#331) 2 years ago
YAMAMOTO Takashi f687048b70
__wait.c: fix a timeout (#361) 2 years ago
YAMAMOTO Takashi defd63129d
Enable flockfile and friends (#362) 2 years ago
Andrew Brown dbcf819f4a
threads: enable access to `pthread_barrier_*` functions (#358) 2 years ago
YAMAMOTO Takashi a6e91a7b8c
Enable pthread_detach (#359) 2 years ago
Andrew Brown 0aa7a988f4
threads: enable access to `pthread_attr_get` functions (#357) 2 years ago
Dan Gohman 7250bd4165
Don't define `_POSIX_THREADS` unless threads are enabled. (#356) 2 years ago
YAMAMOTO Takashi f32e25870f
wasi_thread_start: remove a useless cast (#354) 2 years ago
YAMAMOTO Takashi 0b3b1bb9f1
__wasi_thread_spawn: stop truncating the return value (#353) 2 years ago
Mike Hommey 3a261b0380
Adjust Makefile for LLVM trunk (16) as of 2022-11-08 (#344) 2 years ago
Yuta Saito 8b7148f69a
Add `-fstack-protector` support to wasi-libc (#351) 2 years ago
Dan Gohman 6cd1be1f88
Fix logic errors in the zero-inode path. (#352) 2 years ago
Andrew Brown 8098d8621e
test: run a subset of tests using `libc-test` (#346) 2 years ago
Dan Gohman be1ffd6a9e
If `fd_readdir` returns a zero inode, call `fstatat` to get the inode value. (#345) 2 years ago
Marcin Kolny c718ee138b
Enable a few more pthread* files (pthread_key*, pthread_once) (#348) 2 years ago
Dan Gohman 697d5f8425
Install libtinfo5 on ubuntu. (#349) 2 years ago
Dan Gohman 2bb5abedbd
Define an `__errno_location` function. (#347) 2 years ago
韩朴宇 a00bf321ee
threads: implement init of TLS and stack pointer (#342) 2 years ago
Dan Gohman b99173e177
Support threads in the new crt1-command.c ctor check. (#339) 2 years ago
Dan Gohman a7af7c064b Port emmalloc to wasi-libc. 2 years ago
Dan Gohman f8eaf0028c Beginning porting Emscripten's emmalloc to wasi-libc. 2 years ago
Dan Gohman 21d93b927d
Add a check to command modules to ensure that they're only started once. (#329) 2 years ago
Marcin Kolny 9d2f5a8242
threads: enable pthread_join (#336) 2 years ago
Marcin Kolny d02cec69e7
threads: Enable __lock file for posix thread model (#337) 2 years ago
Dan Gohman 1710f3c010 Avoid depending on `max_align_t` in <__struct_sockaddr.h>. 2 years ago
Dan Gohman 099caae3eb Fix missing errno assignments. 2 years ago
Dan Gohman a02298043f Add braces to `if` statements whose bodies have multiple statements. 2 years ago
Andrew Brown 241060c342
threads: implement `pthread_create` (#325) 2 years ago
Dan Gohman f2a618feb2 Use quotes instead of angle brackets. 2 years ago
Dan Gohman 907d10fecb Don't run static constructors on arbitrary user exports. 2 years ago
Marcin Kolny 05b3b876e6
make `__get_tp()` a static function (#327) 2 years ago
Marcin Kolny c40403f9b0
threads: implement support for conditional variables (#323) 2 years ago
Marcin Kolny 27ba71f95e
Implement support for pthread_rwlock (#321) 2 years ago
Marcin Kolny 3d00b969f2
threads: implement support for pthread_condattr (#320) 2 years ago
Andrew Brown 2057ce9262
threads: implement support for unnamed semaphores (#316) 2 years ago
Andrew Brown 33c3753caf
threads: implement support for pthread mutexes (#315) 2 years ago