Mercurial > projects > ldc
view tango/example/cluster/task.d @ 210:1d6cfdbc97f0 trunk
[svn r226] Fixed: deleting interface.
Removed: unused util function for calling class destructors.
author | lindquist |
---|---|
date | Wed, 14 May 2008 02:00:23 +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)); }