Evan Wilde
cae88d3344
Fix add_swift_target_library for the static SDK
...
add_swift_target_library was missing pieces for passing sources and
flags to the static SDK build. As a result, the static SDK was missing
pieces (specifically Mutex).
Also adding the Musl import to the Linux Mutex implementation.
2024-08-13 15:59:31 -07:00
Alexander Cyon
c21b1e68fd
[stdlib] Fix typos
2024-07-06 13:09:57 +02:00
Alex Lorenz
74d2a66a27
[androd] Fix Synchronization Android build
...
Add Android import for Mutex implementation
2024-06-05 16:58:05 -07:00
Alejandro Alonso
66ec7abd54
Underscore some things, add explicit internal
...
Fix some compile issues
2024-06-04 09:06:37 -07:00
Alejandro Alonso
fbfb218d11
Update LinuxImpl.swift
2024-06-04 09:06:37 -07:00
Alejandro Alonso
3a115fc290
Properly handle the syscalls on Linux and do some spins
...
fix some stuff
2024-06-04 09:06:37 -07:00
Alejandro Alonso
92e6a989b2
Cache TID in TLS on Linux
2024-06-04 09:06:36 -07:00
Alejandro Alonso
5b7e3d8ca2
Add a WasmMutex
2024-06-04 09:06:36 -07:00
Alejandro Alonso
882568ca4d
Directly call gettid syscall instead of library function
2024-06-04 09:06:36 -07:00
Alejandro Alonso
1f206ec58e
Attempt to release the lock and wake when we can't
2024-06-04 09:06:36 -07:00
Alejandro Alonso
2a60c88457
Implement Mutex in Synchronization
2024-06-04 09:06:34 -07:00