about summary refs log tree commit homepage
path: root/ext/clogger_ext/blocking_helpers.h
DateCommit message (Collapse)
2016-07-28ext: avoid clobbering existing system functions
These defines may cause incompatibilities if Ruby or other system headers decide to clobber these. It's also confusing to override existing, well-known-and-standardized functions.
2014-02-15use rb_thread_call_without_gvl for Ruby 2+
rb_thread_blocking_region is deprecated and will be removed
2014-02-15blocking_helpers: remove fstat wrapper
The fstat syscall should never take long, even on sockets and slow FSes.
2011-03-13release GVL for filesystem operations
While local filesystems are usually very fast, we are pessimistic and should prepare for worst-case scenarios. This can use rb_thread_io_blocking_region() under Ruby 1.9.3dev.