diff options
| author | Colin Davidson <colrdavidson@gmail.com> | 2022-12-28 22:08:39 -0800 |
|---|---|---|
| committer | Colin Davidson <colrdavidson@gmail.com> | 2022-12-28 22:08:39 -0800 |
| commit | ef9e31cb31ce6c87687b7932ecd0ace3a33b494f (patch) | |
| tree | da3b9b63c890d797ec77fcc5cd755f9aa0d2080b /src/threading.cpp | |
| parent | e019673a18acf25ccb2f1791a68cae4e70dbd638 (diff) | |
fix ulock/uwait imports
Diffstat (limited to 'src/threading.cpp')
| -rw-r--r-- | src/threading.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/threading.cpp b/src/threading.cpp index f0a9faf19..70a7072e7 100644 --- a/src/threading.cpp +++ b/src/threading.cpp @@ -481,8 +481,8 @@ typedef volatile int64_t Footex; #define UL_COMPARE_AND_WAIT 0x00000001 #define ULF_NO_ERRNO 0x01000000 -int __ulock_wait(uint32_t operation, void *addr, uint64_t value, uint32_t timeout); /* timeout is specified in microseconds */ -int __ulock_wake(uint32_t operation, void *addr, uint64_t wake_value); +extern "C" int __ulock_wait(uint32_t operation, void *addr, uint64_t value, uint32_t timeout); /* timeout is specified in microseconds */ +extern "C" int __ulock_wake(uint32_t operation, void *addr, uint64_t wake_value); gb_internal void tpool_wake_addr(Futex *addr) { for (;;) { |