mattn / mruby-thread

48 stars 31 forks source link

Question about example/simple.rb work #16

Closed bggd closed 9 years ago

bggd commented 10 years ago

I got this from simple.rb. I think it is different result from comment in simple.rb.

in thread: x is foo
in thread: v is "foo"
in main: v is bar
in main: r is baz
mattn commented 10 years ago

mruby included shared-string implementation. so the comment is wrong. I'll fix it in later.

mattn commented 9 years ago

Fixed. c9aa1e83c6e487ab86190a4fde0c985972ff17b4