[PATCH] memcache-client doesn't proper work on rubinius
kronos opened this issue · 4 comments
kronos commented
mperham commented
Would you mind sending me a pull request with the change? Also, I'd prefer to see the logic changed to only load SystemTimer if the runtime is MRI. That way we don't have to change this logic for every new Ruby VM.
kronos commented
The logic: If using native threads then we don't need SystemTimer, if green threads then we need SystemTimer. I don't know how to detect in ruby is there green threads or native threads.
mperham commented
SystemTimer only works on MRI. I've committed a logic change - it appears to work on MRI and 1.9. Please try it out and let me know if it works on rbx also.
mperham commented
No response, closing.