2 Examples containing in this directory
4 ===============================================================================
6 ===============================================================================
8 Simple master slave application
17 (WARNING: the current directory must be examples/ruby/)
18 ruby -I ../../src/bindings/ruby MasterSlave.rb
20 ===============================================================================
22 ===============================================================================
24 This is a stupid ping/pong example. The processes exchange a simple
26 NB : in this example we inherit MSG::Task to make our PingPongTask with
30 ping_pong_platform.xml
33 ping_pong_deployment.xml
36 (WARNING: the current directory must be examples/ruby/)
37 ruby -I ../../src/bindings/ruby PingPong.rb
39 ================================================================================
41 ================================================================================
43 simple example to show how to exchange data between two process (ruby)
45 *Process Sender : send a task with a table , receive and print the result
46 *Process Receiver : receiving and sorting the 'Sender' table
47 NB: in the example we use the methods MSG::Task.join(data) and MSG::Task.data() to exchange data
50 quicksort_platform.xml
53 quicksort_deployment.xml
56 (WARNING: the current directory must be examples/ruby/)
57 ruby -I ../../src/bindings/ruby Quicksort.rb