Closed bggd closed 10 years ago
I figured out.
Previous commit is wrong.
https://github.com/mattn/mruby-thread/blob/master/src/mrb_thread.c#L215
It should be mrb
instead of context->mrb
. Because context in the thread is already terminated.
I'll revert previous commit.
This code was segfault in vs2012(with pthreads-for-win32) and mingw-w64.