This website requires JavaScript.
cd0031e36e
Fix bug.
master
chiu
2024-03-03 11:46:16 +08:00
4cd4344f13
更新「lib/process_shared/posix/libc.rb」
chiu
2023-04-08 14:47:01 +00:00
857bb2ae85
fix error
chiu
2023-04-08 15:22:54 +08:00
9ef0acb093
Version bump to 0.2.1
Patrick Mahoney
2015-06-10 08:32:09 -05:00
1803466eae
Add version range for ci_reporter_minitest.
Patrick Mahoney
2015-06-10 08:30:20 -05:00
2fe552335a
Add example to README.
Patrick Mahoney
2015-06-10 08:28:09 -05:00
751a8d0305
Version bump to 0.2.1b
Patrick Mahoney
2015-06-09 22:20:41 -05:00
ba45f856ba
Update ci_reporter => ci_reporter_minitest.
Patrick Mahoney
2015-06-09 22:17:44 -05:00
1a05bcd924
Find 'helper.so' even when it's in $GEM_HOME/extensions.
Patrick Mahoney
2015-06-09 21:54:21 -05:00
25f9bb2cae
Remove Ruby 1.8 special case; reorder requires to suppress warning.
Patrick Mahoney
2013-12-31 20:17:15 -06:00
88dcebf5f7
Fix typo in comment.
Patrick Mahoney
2013-12-31 18:25:25 -06:00
3acc7afc34
Delete obsolete, unused files.
Patrick Mahoney
2013-12-31 18:21:04 -06:00
af27697623
Version bump to 0.2.1a
Patrick Mahoney
2013-12-31 10:06:53 -06:00
30076ac4bc
Version bump to 0.2.0
Patrick Mahoney
2013-12-31 10:06:40 -06:00
647ae0983a
Drop support for 1.8.7, ree.
Patrick Mahoney
2013-12-31 09:53:22 -06:00
fb0da5ee8c
Merge pull request #12 from ms-ati/add-semaphore-to-mtx
pmahoney
2013-12-31 06:54:33 -08:00
983e266b13
Adjust whitespace.
Patrick Mahoney
2013-12-31 08:49:33 -06:00
8e99e481a4
Add badges to README (rubygems, travis, gemnasium, codeclimate).
Patrick Mahoney
2013-12-31 08:47:46 -06:00
36405307fd
Move README to markdown; add yardopts to match.
Patrick Mahoney
2013-12-30 22:59:51 -06:00
e1a4dec198
Merge pull request #9 from ms-ati/add-rvm-files
pmahoney
2013-12-30 20:11:54 -08:00
d3e27ad20b
Merge pull request #11 from ms-ati/add-workaround-for-rubygems-issue-763-on-travis
pmahoney
2013-12-30 20:02:37 -08:00
ef3d6958ea
Slight refactor to share common code path and clarify behavior
Marc Siegel
2013-12-30 13:22:07 -05:00
49773b66f4
Add Semaphore#to_mtx returning an unchecked mutex-like facade
Marc Siegel
2013-12-30 13:20:29 -05:00
11a6a2e9fe
Add workaround for rubygems/rubygems#763
Marc Siegel
2013-12-30 11:05:38 -05:00
dca51dd6d3
Add Ruby 2.1.0 to Travis CI config
Marc Siegel
2013-12-30 11:04:25 -05:00
e177cf577a
Add RVM workflow files .ruby-version and .ruby-gemset
Marc Siegel
2013-12-30 10:47:03 -05:00
b0114ee389
Version bump to 0.1.11a
Patrick Mahoney
2013-12-27 16:51:31 -06:00
158120755d
Version bump to 0.1.10
Patrick Mahoney
2013-12-27 16:51:20 -06:00
a30cdcacc5
Merge branch 'master' of github.com:pmahoney/process_shared
Patrick Mahoney
2013-12-27 16:50:57 -06:00
1b1fdbe287
Merge pull request #8 from ms-ati/fix-cond-var-signal-when-no-waiters
pmahoney
2013-12-27 14:49:04 -08:00
8232b61697
Merge pull request #7 from ms-ati/fix-shmio-read-encoding
pmahoney
2013-12-27 14:48:09 -08:00
14fa8662f5
Fix test on 1.9.x by adding magic file encoding comment
Marc Siegel
2013-12-27 15:21:01 -05:00
4518e6fdad
Fix ConditionVariable#signal to only post if semaphore has waiters
Marc Siegel
2013-12-27 15:15:07 -05:00
41b6777638
Fix SharedMemoryIO#read for binary data on Ruby 1.9+
Marc Siegel
2013-12-27 13:38:23 -05:00
6434128a26
Version bump to 0.1.10a
Patrick Mahoney
2013-12-27 11:20:02 -06:00
3ac167d49a
Version bump to 0.1.9
Patrick Mahoney
2013-12-27 11:19:53 -06:00
dddf0be4ef
Merge pull request #6 from ms-ati/allow-mutex-lock-from-different-thread
pmahoney
2013-12-27 09:18:39 -08:00
aeadb74ef6
Fix Mutex to allow lock from different Ruby (green) thread in process
Marc Siegel
2013-12-27 10:46:50 -05:00
3e4fa34694
Version bump to 0.1.9a
Patrick Mahoney
2013-12-26 22:39:44 -06:00
77ba16460e
Version bump to 0.1.8
Patrick Mahoney
2013-12-26 22:39:33 -06:00
c663e81774
Merge pull request #5 from ms-ati/allow-ruby-threads-to-continue
pmahoney
2013-12-26 20:37:26 -08:00
90a9f37da4
Disable test on 1.8.7, since workaround is to allow blocking on that version
Marc Siegel
2013-12-26 13:51:03 -05:00
d2f8af03eb
Workaround apparent bug in 1.8.7/REE: block all during sem_timedwait
Marc Siegel
2013-12-26 13:48:29 -05:00
d3d51fef91
Moved tests to just semaphore, and fixed thread joining
Marc Siegel
2013-12-26 13:28:40 -05:00
e2e70591a1
On posix, allow ruby threads to continue during wait / try_wait
Marc Siegel
2013-12-26 12:47:09 -05:00
50c096d84c
On mach, allow other ruby threads to continue during semaphore try_wait
Marc Siegel
2013-12-26 12:45:04 -05:00
d1644104c8
On mach, allow other ruby green threads to continue during semaphore wait
Marc Siegel
2013-12-26 12:27:36 -05:00
4906f5acf5
Add ruby 2.0.0 to travis config.
Patrick Mahoney
2013-02-21 13:09:08 -06:00
5abcdb378c
Add travis config.
Patrick Mahoney
2013-02-21 12:59:04 -06:00
862b1b3b08
Version bump to 0.1.8a
Patrick Mahoney
2013-02-19 13:58:10 -06:00
e106d38b86
Version bump to 0.1.7
Patrick Mahoney
2013-02-19 13:58:02 -06:00
a93775fe24
Don't include compiled extension in gem; configure extconf.rb to compile and install into the correct location. Fixes #4 .
Patrick Mahoney
2013-02-19 13:56:53 -06:00
5aba20cdf7
Partial MonitorMixin implementation.
Patrick Mahoney
2012-03-29 23:00:52 -05:00
80284301a7
Use semaphore#synchronize convenience method internally.
Patrick Mahoney
2012-03-29 22:34:16 -05:00
1eff930480
Initial attempt at Monitor class.
Patrick Mahoney
2012-03-29 22:33:03 -05:00
d8eba3cb25
Add target dir to .gitignore.
Patrick Mahoney
2012-03-24 13:35:08 -05:00
0dc83a72aa
Add rake task to generate flog report.
Patrick Mahoney
2012-03-24 13:27:42 -05:00
e6ff2ba8d7
Sort dev dependencies list in gemspec.
Patrick Mahoney
2012-03-24 13:07:00 -05:00
b6a6c2f241
Rdoc formatting.
Patrick Mahoney
2012-03-04 10:29:43 -06:00
b7d26ebd12
Rdoc formatting.
Patrick Mahoney
2012-03-04 10:28:23 -06:00
884a1fa6c3
Update README for new Mach stuff.
Patrick Mahoney
2012-03-04 10:26:58 -06:00
a0b99f840f
Add dev dependency on ci_reporter for test reports.
Patrick Mahoney
2012-02-26 13:28:37 -06:00
d012a11237
Add LockBehavior to semaphore spec.
Patrick Mahoney
2012-02-23 21:37:19 -06:00
5dc3c7299e
Move common lock test behavior out of mutex spec into module.
Patrick Mahoney
2012-02-23 21:33:38 -06:00
2af2cdc852
Version bump to 0.1.7a
Patrick Mahoney
2012-02-09 08:15:03 -06:00
d0448f75eb
Version bump to 0.1.6
Patrick Mahoney
2012-02-09 08:14:56 -06:00
662a86f2ab
Add release management rake tasks.
Patrick Mahoney
2012-02-09 08:14:47 -06:00
1a9fd328d4
Version bump to 0.1.6a
Patrick Mahoney
2012-02-09 08:14:03 -06:00
04af027faa
Version bump to 0.1.5
Patrick Mahoney
2012-02-09 08:13:59 -06:00
92f5348646
Version bump to 0.1.4
Patrick Mahoney
2012-02-09 08:12:51 -06:00
acee406bac
Version bump to 0.1.3
Patrick Mahoney
2012-02-09 08:10:34 -06:00
a74b6b1a74
Version bump to 0.1.3a
Patrick Mahoney
2012-02-09 08:09:04 -06:00
4a098765a6
Version bump to 0.1.2
Patrick Mahoney
2012-02-09 08:09:03 -06:00
0b188e09ca
Version bump to 0.1.2a
Patrick Mahoney
2012-02-09 08:05:28 -06:00
e55fa8864a
Version bump to 0.1.1
Patrick Mahoney
2012-02-09 08:05:27 -06:00
da42ac4875
Refactor Mach FFI wrapper; get unit tests working again.
Patrick Mahoney
2012-02-08 21:30:18 -06:00
d373ed5996
Revert debugging change to unit test.
Patrick Mahoney
2012-02-08 21:29:37 -06:00
359d44b6f3
Use original fork in mach unit test rather than possibly overridden fork.
Patrick Mahoney
2012-02-08 21:29:03 -06:00
45e6425311
Be more sleepy in test to ensure failure when not locking.
Patrick Mahoney
2012-02-08 21:12:06 -06:00
15fe2e5057
Refactor class hierarchy, implementation selection details.
Patrick Mahoney
2012-02-07 23:06:17 -06:00
64b746a98c
Use gem built-in method to load gemspec file.
Patrick Mahoney
2012-02-07 20:46:21 -06:00
890d7e4e8b
Adjust test inclusion based on FFI platform to only run mach tests on mac.
Patrick Mahoney
2012-02-07 20:44:53 -06:00
c2c19e0268
Bump version to 0.1.0 for next development cycle.
Patrick Mahoney
2012-02-01 21:48:26 -06:00
e7af5995e5
Release version 0.1.0.
Patrick Mahoney
2012-02-01 21:46:51 -06:00
0aab64eaff
Skip Semaphore#value test on Mac OS X where it is unsupported.
Patrick Mahoney
2012-02-01 21:45:54 -06:00
60b1cd8e53
Add (again) default semaphore value; all tests passing on Linux.
Patrick Mahoney
2012-02-01 21:43:53 -06:00
842ff179ec
Remove no-longer-used libpsem and related code and tests.
Patrick Mahoney
2012-02-01 21:42:34 -06:00
8158666e90
Add posix-y compatibility extension class over Mach::Semaphore.
Patrick Mahoney
2012-02-01 21:36:15 -06:00
680527cbab
Add time and clock Mach functions; implement Mach::Semaphore#timedwait.
Patrick Mahoney
2012-02-01 21:34:51 -06:00
b76bf99947
Add additional mach error codes.
Patrick Mahoney
2012-02-01 21:32:08 -06:00
ffe1298731
Factor common TimeSpec methods into module.
Patrick Mahoney
2012-02-01 20:32:40 -06:00
71aa552213
Move with_self open-with-block helper to common module from posix semaphore implementation.
Patrick Mahoney
2012-02-01 19:44:24 -06:00
63d10c12a2
Exclude mach platform tests from default pattern in Rakefile.
Patrick Mahoney
2012-02-01 19:40:00 -06:00
b1f7fd7fb8
Add doc, others to gitignore.
Patrick Mahoney
2012-02-01 19:39:26 -06:00
6f63c67c6e
Split SharedMemory into module and platform dependent bits. Make SharedArray extend platform dependent class.
Patrick Mahoney
2012-02-01 19:38:53 -06:00
db108a1913
Delete BoundedSemaphore.
Patrick Mahoney
2012-02-01 19:24:07 -06:00
bb2bb3c5d9
Make BinarySemaphore delegate to platform-dependent semaphore.
Patrick Mahoney
2012-02-01 19:23:45 -06:00
13922373d6
Create dedicated class for messages.
Patrick Mahoney
2012-01-29 22:57:13 -06:00
ae67dc6889
Add Ruby/FFI wrapper around POSIX shared memory and semaphore (obviating libpsem).
Patrick Mahoney
2012-01-29 22:54:22 -06:00
b58a1a7cda
Add helper c library for posix constants and type sizes.
Patrick Mahoney
2012-01-29 22:52:03 -06:00