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
1 change: 0 additions & 1 deletion emcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1951,7 +1951,6 @@ def default_setting(name, new_default):
'__emscripten_thread_init',
'__emscripten_thread_exit',
'_emscripten_tls_init',
'_emscripten_futex_wake',
'_emscripten_current_thread_process_queued_calls',
'_pthread_self',
]
Expand Down
2 changes: 1 addition & 1 deletion src/library_pthread.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
var LibraryPThread = {
$PThread__postset: 'if (!ENVIRONMENT_IS_PTHREAD) PThread.initMainThreadBlock();',
$PThread__deps: ['_emscripten_thread_init',
'emscripten_futex_wake', '$killThread',
'$killThread',
'$cancelThread', '$cleanupThread', '$zeroMemory',
'_emscripten_thread_free_data',
'exit',
Expand Down
10 changes: 0 additions & 10 deletions src/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,16 +237,6 @@ self.onmessage = function(e) {
#endif
} catch(ex) {
if (ex != 'unwind') {
#if ASSERTIONS
// FIXME(sbc): Figure out if this is still needed or useful. Its not
// clear to me how this check could ever fail. In order to get into
// this try/catch block at all we have already called bunch of
// functions on `Module`.. why is this one special?
if (typeof(Module['_emscripten_futex_wake']) !== 'function') {
err("Thread Initialisation failed.");
throw ex;
}
#endif
// ExitStatus not present in MINIMAL_RUNTIME
#if !MINIMAL_RUNTIME
if (ex instanceof Module['ExitStatus']) {
Expand Down