Browse Source

threads: implement support for spinlock (#324)

pull/390/head
Marcin Kolny 2 years ago
committed by GitHub
parent
commit
b4814997f6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Makefile
  2. 5
      expected/wasm32-wasi-threads/defined-symbols.txt

5
Makefile

@ -262,6 +262,11 @@ LIBC_TOP_HALF_MUSL_SOURCES += \
thread/pthread_setcancelstate.c \ thread/pthread_setcancelstate.c \
thread/pthread_setspecific.c \ thread/pthread_setspecific.c \
thread/pthread_self.c \ thread/pthread_self.c \
thread/pthread_spin_destroy.c \
thread/pthread_spin_init.c \
thread/pthread_spin_lock.c \
thread/pthread_spin_trylock.c \
thread/pthread_spin_unlock.c \
thread/pthread_testcancel.c \ thread/pthread_testcancel.c \
thread/sem_destroy.c \ thread/sem_destroy.c \
thread/sem_getvalue.c \ thread/sem_getvalue.c \

5
expected/wasm32-wasi-threads/defined-symbols.txt

@ -1044,6 +1044,11 @@ pthread_rwlockattr_setpshared
pthread_self pthread_self
pthread_setcancelstate pthread_setcancelstate
pthread_setspecific pthread_setspecific
pthread_spin_destroy
pthread_spin_init
pthread_spin_lock
pthread_spin_trylock
pthread_spin_unlock
pthread_testcancel pthread_testcancel
pthread_timedjoin_np pthread_timedjoin_np
pthread_tryjoin_np pthread_tryjoin_np

Loading…
Cancel
Save