File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ void _emscripten_thread_exit_joinable(pthread_t thread);
6969void _emscripten_thread_exit (void * result );
7070void _emscripten_process_dlopen_queue (void );
7171
72- #ifdef NDEBUG
72+ #if !defined( __EMSCRIPTEN_PTHREADS__ ) || defined( NDEBUG )
7373#define emscripten_set_current_thread_status (newStatus )
7474#define emscripten_conditional_set_current_thread_status (expectedStatus , newStatus )
7575#else
Original file line number Diff line number Diff line change @@ -1211,6 +1211,7 @@ def get_files(self):
12111211 'pthread_kill.c' ,
12121212 'emscripten_thread_init.c' ,
12131213 'emscripten_yield.c' ,
1214+ 'thread_profiler.c' ,
12141215 ])
12151216 else :
12161217 ignore += ['thread' ]
@@ -1412,10 +1413,6 @@ def get_files(self):
14121413 if settings .MAIN_MODULE :
14131414 libc_files += files_in_path (path = 'system/lib/libc' , filenames = ['dynlink.c' ])
14141415
1415- libc_files += files_in_path (
1416- path = 'system/lib/pthread' ,
1417- filenames = ['thread_profiler.c' ])
1418-
14191416 libc_files += glob_in_path ('system/lib/libc/compat' , '*.c' )
14201417
14211418 # Check for missing file in non_lto_files list. Do this here
You can’t perform that action at this time.
0 commit comments