Commit Graph

83 Commits

Author SHA1 Message Date
Patrick Mahoney 662a86f2ab Add release management rake tasks. 2012-02-09 08:14:47 -06:00
Patrick Mahoney 1a9fd328d4 Version bump to 0.1.6a 2012-02-09 08:14:03 -06:00
Patrick Mahoney 04af027faa Version bump to 0.1.5 2012-02-09 08:13:59 -06:00
Patrick Mahoney 92f5348646 Version bump to 0.1.4 2012-02-09 08:12:51 -06:00
Patrick Mahoney acee406bac Version bump to 0.1.3 2012-02-09 08:10:34 -06:00
Patrick Mahoney a74b6b1a74 Version bump to 0.1.3a 2012-02-09 08:09:04 -06:00
Patrick Mahoney 4a098765a6 Version bump to 0.1.2 2012-02-09 08:09:03 -06:00
Patrick Mahoney 0b188e09ca Version bump to 0.1.2a 2012-02-09 08:05:28 -06:00
Patrick Mahoney e55fa8864a Version bump to 0.1.1 2012-02-09 08:05:27 -06:00
Patrick Mahoney da42ac4875 Refactor Mach FFI wrapper; get unit tests working again. 2012-02-08 21:30:18 -06:00
Patrick Mahoney d373ed5996 Revert debugging change to unit test. 2012-02-08 21:29:37 -06:00
Patrick Mahoney 359d44b6f3 Use original fork in mach unit test rather than possibly overridden fork. 2012-02-08 21:29:03 -06:00
Patrick Mahoney 45e6425311 Be more sleepy in test to ensure failure when not locking. 2012-02-08 21:12:06 -06:00
Patrick Mahoney 15fe2e5057 Refactor class hierarchy, implementation selection details. 2012-02-07 23:06:17 -06:00
Patrick Mahoney 64b746a98c Use gem built-in method to load gemspec file. 2012-02-07 20:46:21 -06:00
Patrick Mahoney 890d7e4e8b Adjust test inclusion based on FFI platform to only run mach tests on mac. 2012-02-07 20:44:53 -06:00
Patrick Mahoney c2c19e0268 Bump version to 0.1.0 for next development cycle. 2012-02-01 21:48:26 -06:00
Patrick Mahoney e7af5995e5 Release version 0.1.0. 2012-02-01 21:46:51 -06:00
Patrick Mahoney 0aab64eaff Skip Semaphore#value test on Mac OS X where it is unsupported. 2012-02-01 21:45:54 -06:00
Patrick Mahoney 60b1cd8e53 Add (again) default semaphore value; all tests passing on Linux. 2012-02-01 21:43:53 -06:00
Patrick Mahoney 842ff179ec Remove no-longer-used libpsem and related code and tests. 2012-02-01 21:42:34 -06:00
Patrick Mahoney 8158666e90 Add posix-y compatibility extension class over Mach::Semaphore. 2012-02-01 21:36:15 -06:00
Patrick Mahoney 680527cbab Add time and clock Mach functions; implement Mach::Semaphore#timedwait. 2012-02-01 21:34:51 -06:00
Patrick Mahoney b76bf99947 Add additional mach error codes. 2012-02-01 21:32:08 -06:00
Patrick Mahoney ffe1298731 Factor common TimeSpec methods into module. 2012-02-01 20:33:31 -06:00
Patrick Mahoney 71aa552213 Move with_self open-with-block helper to common module from posix semaphore implementation. 2012-02-01 19:44:24 -06:00
Patrick Mahoney 63d10c12a2 Exclude mach platform tests from default pattern in Rakefile. 2012-02-01 19:40:00 -06:00
Patrick Mahoney b1f7fd7fb8 Add doc, others to gitignore. 2012-02-01 19:39:26 -06:00
Patrick Mahoney 6f63c67c6e Split SharedMemory into module and platform dependent bits. Make SharedArray extend platform dependent class. 2012-02-01 19:38:53 -06:00
Patrick Mahoney db108a1913 Delete BoundedSemaphore. 2012-02-01 19:24:07 -06:00
Patrick Mahoney bb2bb3c5d9 Make BinarySemaphore delegate to platform-dependent semaphore. 2012-02-01 19:23:45 -06:00
Patrick Mahoney 13922373d6 Create dedicated class for messages. 2012-01-29 22:57:13 -06:00
Patrick Mahoney ae67dc6889 Add Ruby/FFI wrapper around POSIX shared memory and semaphore (obviating libpsem). 2012-01-29 22:54:22 -06:00
Patrick Mahoney b58a1a7cda Add helper c library for posix constants and type sizes. 2012-01-29 22:52:52 -06:00
Patrick Mahoney 74acbae899 Add test demonstrating copying semaphore from parent to child. 2012-01-21 18:39:47 -06:00
Patrick Mahoney 16ceacb31e Document Port#insert_right method. 2012-01-21 18:39:27 -06:00
Patrick Mahoney 807e694ad3 Fix typo. 2012-01-21 15:11:16 -06:00
Patrick Mahoney 933690a426 Remove logging statement from #send_right. 2012-01-21 15:10:38 -06:00
Patrick Mahoney 0ac03cfefc Add methods on port to send and receive rights from other tasks. 2012-01-21 15:06:46 -06:00
Patrick Mahoney 9f17aac114 Modify args to Semaphore and Port constructors to accept existing ports. 2012-01-16 08:14:58 -06:00
Patrick Mahoney 14e5b893bf Make (require 'mach') load all subcomponents. 2012-01-15 08:08:17 -06:00
Patrick Mahoney d337ddd0e3 Remove obsolete file added by mistake. 2012-01-15 08:05:34 -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 3d01ce1ed6 Bump patch version. 2011-12-21 08:17:00 -06:00
Patrick Mahoney 893c457b35 Make ffi type to getter/setter method search more robust to work in 1.8 and 1.9. 2011-12-21 08:14:20 -06:00
Patrick Mahoney a21071b590 Fix object writing and reading for Ruby 1.8 IO differences. 2011-12-21 07:58:55 -06:00
Patrick Mahoney 70b372136d Re-add require 'process_shared' to spec_helper. 2011-12-20 22:20:30 -06:00
Patrick Mahoney 6b6be3c2e5 Add object transfer example to README. 2011-12-20 22:16:50 -06:00
Patrick Mahoney edc927709a Avoid possible race in ConditionVariable where new processes begin waiting while #broadcast is running. 2011-12-20 22:12:25 -06:00
Patrick Mahoney cc663a8d7f Add SharedMemory#write_object and #read_object; add SharedMemoryIO helper. 2011-12-20 22:09:38 -06:00