Mercurial > projects > ldc
view tango/example/cluster/task.d @ 194:8ee2c46ff938 trunk
[svn r210] Fixed: last commit was broken.
author | lindquist |
---|---|
date | Mon, 12 May 2008 18:48:09 +0200 |
parents | 1700239cab2e |
children |
line wrap: on
line source
/******************************************************************************* Illustrates usage of cluster tasks *******************************************************************************/ import Add, tango.io.Stdout, tango.net.cluster.tina.ClusterTask; void main (char[][] args) { scope add = new NetCall!(add); Stdout.formatln ("cluster expression of 3.0 + 4.0 = {}", add(3, 4)); }