Commit Graph

15 Commits

Author SHA1 Message Date
Patrick Mahoney 9f17aac114 Modify args to Semaphore and Port constructors to accept existing ports. 2012-01-16 08:14:58 -06:00
Patrick Mahoney 252d606c09 Add FFI wrapper around some of the Mach API (in Mac OS X). 2012-01-15 08:02:53 -06:00
Patrick Mahoney 70b372136d Re-add require 'process_shared' to spec_helper. 2011-12-20 22:20:30 -06:00
Patrick Mahoney cc663a8d7f Add SharedMemory#write_object and #read_object; add SharedMemoryIO helper. 2011-12-20 22:09:38 -06:00
Patrick Mahoney cf6b821b17 Remove development dependency on simplecov. 2011-12-20 19:57:15 -06:00
Patrick Mahoney 611c41f939 Add SharedArray extension of SharedMemory (with Enumerable mixin). 2011-12-17 21:51:22 -06:00
Patrick Mahoney c320c75c8d Add SimpleCov coverage when running tests under 1.9 (though it doesn't seem to measure correctly...?). 2011-12-17 21:50:12 -06:00
Patrick Mahoney d65979cc2e Initial attempt at ConditionVariable implementation. 2011-12-17 11:05:39 -06:00
Patrick Mahoney 7d71937bf7 Add BinarySemaphore (error checking semaphore with max value 1). 2011-12-17 10:15:22 -06:00
Patrick Mahoney a0d0c7575c Test Semaphore#try_wait() that doesn't end in ETIMEDOUT. 2011-12-17 10:06: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 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