Commit Graph

13 Commits

Author SHA1 Message Date
Patrick Mahoney d65979cc2e Initial attempt at ConditionVariable implementation. 2011-12-17 11:05:39 -06:00
Patrick Mahoney a1f881f59c Add finalizer to SharedMemory. 2011-12-17 10:31:22 -06:00
Patrick Mahoney 7bdae6482f Add finalizer to SharedMemory. 2011-12-17 10:31:09 -06:00
Patrick Mahoney 7d71937bf7 Add BinarySemaphore (error checking semaphore with max value 1). 2011-12-17 10:15:22 -06:00
Patrick Mahoney 0f00a7d444 Add minor explanatory comment. 2011-12-17 10:07:24 -06:00
Patrick Mahoney 7230e9f2c9 Add Semaphore#try_wait. Fix libpsem to convert relative timeout to absolute timeout. 2011-12-17 09:58:10 -06:00
Patrick Mahoney f65ae434e4 Clear the error pointer so that it may be reused. 2011-12-17 07:53:15 -06:00
Patrick Mahoney 514df0f49f Change from BoundedSemaphore to Semaphore in Mutex implementation so it will work on Mac OS X (and other platforms with out sem_getvalue(). 2011-12-13 22:03:36 -06:00
Patrick Mahoney d102786090 Expand documentation; fix markup. 2011-12-12 22:02:00 -06:00
Patrick Mahoney faa8a6c5b3 Test RUBY_VERSION rather than VERSION (which no longer exists in 1.9). 2011-12-12 21:38:47 -06:00
Patrick Mahoney 4f775ac5ca Add backwards compatibility define_singleton_method for Ruby 1.8. 2011-12-12 20:51:06 -06:00
Patrick Mahoney b4b869e074 Check double-lock in Mutex. Update book keeping on unlock. 2011-12-11 22:57:57 -06:00
Patrick Mahoney cf45ab9891 Initial commit. 2011-12-11 21:39:55 -06:00