pthread 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/pthread/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -22,7 +22,7 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
Before using parallel threads you should configure a dRb server:
|
24
24
|
|
25
|
-
Pthread::Pthread.start_service '
|
25
|
+
Pthread::Pthread.start_service '192.168.1.100:12345'
|
26
26
|
|
27
27
|
Pthreads are actual Unix processes. You can add process-workers on the same machine as the main programm by calling:
|
28
28
|
|
@@ -36,7 +36,7 @@ Methods #add_executor and #add_executors take an optional parameter that specifi
|
|
36
36
|
|
37
37
|
In order to connect an executor from a separate machine in your programm you can call:
|
38
38
|
|
39
|
-
PthreadExecutor.new '192.168.1.100:12345', 'tasks'
|
39
|
+
Pthread::PthreadExecutor.new '192.168.1.100:12345', 'tasks'
|
40
40
|
|
41
41
|
specifing the host and a desired queue.
|
42
42
|
|
data/lib/pthread/version.rb
CHANGED