pthread 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +2 -2
  2. data/lib/pthread/version.rb +1 -1
  3. 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 'localhost:12345'
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
 
@@ -1,3 +1,3 @@
1
1
  module Pthread
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pthread
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: