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 |
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
|
ea063678cc
|
Update SharedMemory initializer to accept type and size.
|
2011-12-17 21:50:39 -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
|
abe67c1702
|
Add note about BoundedSemaphore to TODO.
|
2011-12-17 11:09:51 -06:00 |
Patrick Mahoney
|
a7bc854b41
|
Add some more TOOD's.
|
2011-12-17 11:07:57 -06:00 |
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
|
a0d0c7575c
|
Test Semaphore#try_wait() that doesn't end in ETIMEDOUT.
|
2011-12-17 10:06:24 -06:00 |
Patrick Mahoney
|
ee939d407c
|
Adjust invalid tv_nsec values after adding.
|
2011-12-17 10:05:35 -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
|
27e8aeb4c4
|
Bump version to 0.0.4.
|
2011-12-12 21:39:40 -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
|
509e1e5a91
|
Ignore compiled library objects.
|
2011-12-12 21:21:40 -06:00 |
Patrick Mahoney
|
d2c38f1336
|
Bump version to 0.0.3.
|
2011-12-12 20:58:08 -06:00 |
Patrick Mahoney
|
51ed182b4f
|
Release version 0.0.2.
|
2011-12-12 20:53:41 -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
|
2de2bc908b
|
Try for sem_open a second time, adding -lpthread.
|
2011-12-12 20:29:09 -06:00 |
Patrick Mahoney
|
3e9f48e2c7
|
Fail early when sem_open not found in semaphore.h.
|
2011-12-12 20:14:10 -06:00 |
Patrick Mahoney
|
f2dc5dfe9a
|
Test for depend_rules method (in 1.9, not 1.8) in extconf.
|
2011-12-12 20:13:37 -06:00 |
Patrick Mahoney
|
f37d5499c7
|
Include stdlib.h for size_t in case psem.c isn't included.
|
2011-12-12 20:10:51 -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
|
44d1e79a10
|
Use Dir glob rather than FileList in gemspec.
|
2011-12-11 22:44:02 -06:00 |
Patrick Mahoney
|
975cfd9ea6
|
Add link to pyprocessing.
|
2011-12-11 22:21:42 -06:00 |
Patrick Mahoney
|
f0827a3118
|
Add homepage to gemspec.
|
2011-12-11 22:19:37 -06:00 |