Hi,
considering this trivial code:
while( i < MAX ) {
Root& r = *new(allocate_root() ) Root(i);
spawn_root_and_wait( r );
++i;
} is it possible to reuse the root task in the while loop? Something like:Root& r = *new (allocate_root) Root();
while( i < MAX ) {
r.set_i( i );
spawn_root_and_wait( r );
++i;
} Thanks.



