Browse Source

threads: Enable __lock file for posix thread model (#337)

pull/330/merge
Marcin Kolny 2 years ago
committed by GitHub
parent
commit
d02cec69e7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Makefile
  2. 2
      expected/wasm32-wasi/posix/defined-symbols.txt
  3. 2
      expected/wasm32-wasi/posix/undefined-symbols.txt

1
Makefile

@ -190,6 +190,7 @@ LIBC_TOP_HALF_MUSL_SOURCES = \
ifeq ($(THREAD_MODEL), posix)
LIBC_TOP_HALF_MUSL_SOURCES += \
$(addprefix $(LIBC_TOP_HALF_MUSL_SRC_DIR)/, \
thread/__lock.c \
thread/__wait.c \
thread/__timedwait.c \
thread/pthread_cleanup_push.c \

2
expected/wasm32-wasi/posix/defined-symbols.txt

@ -143,6 +143,7 @@ __loc_is_allocated
__locale_lock
__locale_lockptr
__localtime_r
__lock
__log2_data
__log2f_data
__log_data
@ -285,6 +286,7 @@ __tre_mem_new_impl
__tsearch_balance
__uflow
__unlist_locked_file
__unlock
__uselocale
__utc
__wait

2
expected/wasm32-wasi/posix/undefined-symbols.txt

@ -61,7 +61,6 @@ __imported_wasi_snapshot_preview1_sock_send
__imported_wasi_snapshot_preview1_sock_shutdown
__imported_wasi_snapshot_preview2_thread_spawn
__letf2
__lock
__lockfile
__lttf2
__main_argc_argv
@ -72,7 +71,6 @@ __thread_list_lock
__tls_base
__trunctfdf2
__trunctfsf2
__unlock
__unlockfile
__unordtf2
__wasilibc_pthread_self

Loading…
Cancel
Save