comparison tango/tango/net/cluster/tina/ClusterTask.d @ 132:1700239cab2e trunk

[svn r136] MAJOR UNSTABLE UPDATE!!! Initial commit after moving to Tango instead of Phobos. Lots of bugfixes... This build is not suitable for most things.
author lindquist
date Fri, 11 Jan 2008 17:57:40 +0100
parents
children
comparison
equal deleted inserted replaced
131:5825d48b27d1 132:1700239cab2e
1 /*******************************************************************************
2
3 copyright: Copyright (c) 2004 Kris Bell. All rights reserved
4
5 license: BSD style: $(LICENSE)
6
7 version: July 2004: Initial release
8
9 author: Kris
10
11 *******************************************************************************/
12
13 module tango.net.cluster.tina.ClusterTask;
14
15 /*******************************************************************************
16
17
18 *******************************************************************************/
19
20 private import tango.core.Thread;
21
22 private import tango.net.cluster.tina.Cluster;
23
24 /*******************************************************************************
25
26 Quick bootstrap for cluster connectivity
27
28 *******************************************************************************/
29
30 static this ()
31 {
32 auto cluster = (new Cluster).join;
33 Thread.setLocal (0, cast(void*) cluster.createChannel("task"));
34 }
35