mperham/memcache-client

[PATCH] memcache-client doesn't proper work on rubinius

kronos opened this issue · 4 comments

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.

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.

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.

No response, closing.