Changeset 2452
- Timestamp:
- 07/12/07 16:18:57 (1 year ago)
- Files:
-
- trunk/example/cluster/task.d (modified) (1 diff)
- trunk/example/cluster/tclient.d (modified) (1 diff)
- trunk/tango/net/cluster/NetworkCall.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/example/cluster/task.d
r2450 r2452 5 5 *******************************************************************************/ 6 6 7 import Add; 8 9 import tango.io.Stdout; 7 import Add, tango.io.Stdout, tango.net.cluster.tina.ClusterTask; 10 8 11 9 void main (char[][] args) trunk/example/cluster/tclient.d
r2451 r2452 11 11 12 12 import tango.util.log.Configurator; 13 14 import tango.net.cluster.tina.ClusterTask; 13 15 14 16 /******************************************************************************* trunk/tango/net/cluster/NetworkCall.d
r2450 r2452 16 16 private import tango.core.Thread; 17 17 18 private import tango.net.cluster.tina.Cluster;19 20 18 private import tango.net.cluster.NetworkMessage; 21 19 … … 24 22 25 23 protected import tango.net.cluster.model.IChannel; 26 27 28 /*******************************************************************************29 30 Interim bootstrap for cluster connectivity31 32 *******************************************************************************/33 34 static this ()35 {36 auto cluster = (new Cluster).join;37 Thread.setLocal (0, cast(void*) cluster.createChannel("task"));38 }39 24 40 25












