Commit ede5955
committed
Turn embind into MTLibrary
Newly added _emval_coro_reject() function calls JS Promise reject
functor at the end of call hierarchy. Since the call crosses C++ JS
barrier, the Signature::get_method_caller() function is called, which
has thread_local variable, adding thread local storage, and therefore
the requirement for the embind to be compiled with same threadness as
the main program.1 parent ee390dd commit ede5955
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1925 | 1925 | | |
1926 | 1926 | | |
1927 | 1927 | | |
1928 | | - | |
| 1928 | + | |
1929 | 1929 | | |
1930 | 1930 | | |
1931 | 1931 | | |
| |||
0 commit comments