Commit Graph

148 Commits

Author SHA1 Message Date
Patrick Mahoney a93775fe24 Don't include compiled extension in gem; configure extconf.rb to compile and install into the correct location. Fixes #4. 2013-02-19 13:56:53 -06:00
Patrick Mahoney 5aba20cdf7 Partial MonitorMixin implementation. 2012-03-29 23:00:52 -05:00
Patrick Mahoney 80284301a7 Use semaphore#synchronize convenience method internally. 2012-03-29 22:34:16 -05:00
Patrick Mahoney 1eff930480 Initial attempt at Monitor class. 2012-03-29 22:33:03 -05:00
Patrick Mahoney d8eba3cb25 Add target dir to .gitignore. 2012-03-24 13:35:08 -05:00
Patrick Mahoney 0dc83a72aa Add rake task to generate flog report. 2012-03-24 13:27:42 -05:00
Patrick Mahoney e6ff2ba8d7 Sort dev dependencies list in gemspec. 2012-03-24 13:07:00 -05:00
Patrick Mahoney b6a6c2f241 Rdoc formatting. 2012-03-04 10:29:43 -06:00
Patrick Mahoney b7d26ebd12 Rdoc formatting. 2012-03-04 10:28:23 -06:00
Patrick Mahoney 884a1fa6c3 Update README for new Mach stuff. 2012-03-04 10:26:58 -06:00
Patrick Mahoney a0b99f840f Add dev dependency on ci_reporter for test reports. 2012-02-26 13:28:37 -06:00
Patrick Mahoney d012a11237 Add LockBehavior to semaphore spec. 2012-02-23 21:37:19 -06:00
Patrick Mahoney 5dc3c7299e Move common lock test behavior out of mutex spec into module. 2012-02-23 21:33:38 -06:00
Patrick Mahoney 2af2cdc852 Version bump to 0.1.7a 2012-02-09 08:15:03 -06:00
Patrick Mahoney d0448f75eb Version bump to 0.1.6 2012-02-09 08:14:56 -06:00
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