view tango/example/cluster/task.d @ 228:52d1e9d27dc6 trunk

[svn r244] added another asm test.
author lindquist
date Sat, 07 Jun 2008 19:20:15 +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));
}