Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/library_pthread.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ var LibraryPThread = {
// pthread_join to them would block forever.
// pthreads can still choose to set `noExitRuntime` explicitly, or
// call emscripten_unwind_to_js_event_loop to extend their lifetime beyond
// their main function. See comment in src/worker.js for more.
// their main function. See comment in src/runtime_pthread.js for more.
noExitRuntime = false;
#endif
},
Expand Down
2 changes: 1 addition & 1 deletion system/lib/pthread/thread_mailbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void _emscripten_thread_mailbox_init(pthread_t thread) {
thread->waiting_async = 0;
}

// Exported for use in worker.js, but otherwise an internal function.
// Internal function, called from runtime_pthread.js
void _emscripten_check_mailbox() {
// Before we attempt to execute a request from another thread make sure we
// are in sync with all the loaded code.
Expand Down
2 changes: 1 addition & 1 deletion tools/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def setup_pthreads():

default_setting('DEFAULT_PTHREAD_STACK_SIZE', settings.STACK_SIZE)

# Functions needs to be exported from the module since they are used in worker.js
# Functions needs by runtime_pthread.js
settings.REQUIRED_EXPORTS += [
'_emscripten_thread_free_data',
'_emscripten_thread_crashed',
Expand Down