A bit more logging

This commit is contained in:
Ingvar Stepanyan
2021-03-04 15:24:56 +00:00
parent 2e8dd1e247
commit 89d5d8063d

View File

@@ -3369,6 +3369,7 @@ function resetPrototype(constructor, attrs) {
} }
function _pthread_create(pthread_ptr, attr, start_routine, arg) { function _pthread_create(pthread_ptr, attr, start_routine, arg) {
console.warn('pthread_create');
if (typeof SharedArrayBuffer === "undefined") { if (typeof SharedArrayBuffer === "undefined") {
err("Current environment does not support SharedArrayBuffer, pthreads are not available!"); err("Current environment does not support SharedArrayBuffer, pthreads are not available!");
return 6; return 6;
@@ -3501,6 +3502,7 @@ function __emscripten_do_pthread_join(thread, status, block) {
} }
function _pthread_join(thread, status) { function _pthread_join(thread, status) {
console.warn('pthread_join');
return __emscripten_do_pthread_join(thread, status, true); return __emscripten_do_pthread_join(thread, status, true);
} }