search for: mutexname

Displaying 2 results from an estimated 2 matches for "mutexname".

2004 May 01
1
win32-mutex
I''ve committed documentation and a test suite for win32-mutex. Once again, I''m looking for a good sample program that we can use for the test.rb file that really demonstrates what you can accomplish with it. I scoured the web but didn''t find anything good. On another note, I came across another implementation called "fmutex" that I thought might be worth
2007 May 04
1
Trying to get a good example for win32-mutex
...mmap 0.2.1 and win32-process 0.5.2: ############################################################## # mutex_test.rb # # A test script for general futzing. Modify as you see fit. # This test script requires win32-process and win32-mmap. ############################################################## MUTEXNAME = "This is a very long name" require ''win32/mutex'' require ''win32/process'' require ''win32/mmap'' include Win32 pid = Process.fork # child_1 if pid.nil? mm = MMap.open(''test'') mx = Win32::Mutex.open(MUTEXNAME)...