-
Notifications
You must be signed in to change notification settings - Fork 9
Tdrz/ccoderefactoring #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: REL_17_5_WASM-pglite-builder
Are you sure you want to change the base?
Conversation
…use of the new frontend <-> backend data transfer mechanism because before the write was not buffered.
} | ||
} | ||
} | ||
resume_on_error: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check error handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine: resume_on_error was only jumped to if cma_rsize < 0
which is not the case with the new data transfer method.
|
||
#if defined(__EMSCRIPTEN__) | ||
EM_ASM( { | ||
Module.is_worker = (typeof WorkerGlobalScope !== 'undefined') && self instanceof WorkerGlobalScope; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is is_worker
used anywhere else?
Module.is_worker = (typeof WorkerGlobalScope !== 'undefined') && self instanceof WorkerGlobalScope; | ||
Module.FD_BUFFER_MAX = $0; Module.emscripten_copy_to = console.warn;} | ||
, (CMA_MB * 1024 * 1024) / CMA_FD); /* ( global mem start / num fd max ) */ | ||
Module.FD_BUFFER_MAX = $0; Module.emscripten_copy_to = console.warn;} // tdrz: what is FD_BUFFER_MAX? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
emscripten_copy_to used anywhere?
No description provided.