File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ var LibraryPThread = {
134
134
// pthread_join to them would block forever.
135
135
// pthreads can still choose to set `noExitRuntime` explicitly, or
136
136
// call emscripten_unwind_to_js_event_loop to extend their lifetime beyond
137
- // their main function. See comment in src/worker .js for more.
137
+ // their main function. See comment in src/runtime_pthread .js for more.
138
138
noExitRuntime = false ;
139
139
#endif
140
140
} ,
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ void _emscripten_thread_mailbox_init(pthread_t thread) {
70
70
thread -> waiting_async = 0 ;
71
71
}
72
72
73
- // Exported for use in worker.js, but otherwise an internal function.
73
+ // Internal function, called from runtime_pthread.js
74
74
void _emscripten_check_mailbox () {
75
75
// Before we attempt to execute a request from another thread make sure we
76
76
// are in sync with all the loaded code.
Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ def setup_pthreads():
482
482
483
483
default_setting ('DEFAULT_PTHREAD_STACK_SIZE' , settings .STACK_SIZE )
484
484
485
- # Functions needs to be exported from the module since they are used in worker .js
485
+ # Functions needs by runtime_pthread .js
486
486
settings .REQUIRED_EXPORTS += [
487
487
'_emscripten_thread_free_data' ,
488
488
'_emscripten_thread_crashed' ,
You can’t perform that action at this time.
0 commit comments