Hi All,
I'm trying to compile project that uses coroutines. Inside coroutine some
objects created on the stack. When I'm compiling with ASYNCIFY=1 option I
see right behaviour, for example
coroutine pointer equal 0x1356448 and object(class) created on the stack
equal 0x13567e0
But after compilation without ASYNCIFY with EMTERPRETIFY=1 and
EMTERPRETIFY_ASYNC=1
I see coroutine pointer 0x12edf78 and object on the stack has 0x17cb80
pointer. That means that in the second case object located not on the
stack, right? And I have side effects related with it, after few iterations
data inside object is corrupted.
How to solve|avoid this issue?
emscripten ver 1.38.29
Necessary methods passed to coroutine added to emterpretify whitelist, it
is not an issue.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to