rtomayko / tilt

Generic interface to multiple Ruby template engines

Home Page:http://github.com/rtomayko/tilt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add mutex around method compilation Hash

judofyr opened this issue · comments

JRuby and rbx don't have thread-safe Hashes. This is probably the cause of the rbx-18 failures.

MRI only has thread-safe hashes due C code running in a lock. Any hash method dispatching back to Ruby land will also not be thread-safe on MRI.