diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-06-02 21:25:04 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-06-02 21:27:36 -0400 |
| commit | 7764ab2ab0a45786d3c27c2a5bfad264e181b7b7 (patch) | |
| tree | 71dfe4c3533729657966e911dbc0090d2907ba7a /core/sys | |
| parent | 6a5633df2d3c7a398d6aa20e1024f6f380c9d987 (diff) | |
Prevent test runner deadlock on NetBSD
Add `pthread_testcancel` to `core:sys/unix`
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/unix/pthread_unix.odin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sys/unix/pthread_unix.odin b/core/sys/unix/pthread_unix.odin index 5760560ee..c876a214a 100644 --- a/core/sys/unix/pthread_unix.odin +++ b/core/sys/unix/pthread_unix.odin @@ -116,4 +116,5 @@ foreign pthread { pthread_mutexattr_setpshared :: proc(attrs: ^pthread_mutexattr_t, value: c.int) -> c.int --- pthread_mutexattr_getpshared :: proc(attrs: ^pthread_mutexattr_t, result: ^c.int) -> c.int --- + pthread_testcancel :: proc () --- } |