artofillusion.util
Interface ThreadManager.Task

Enclosing class:
ThreadManager

public static interface ThreadManager.Task

This interface defines a task to be performed by the worker threads.


Method Summary
 void cleanup()
          This is called once from each worker thread when finish() is called.
 void execute(int index)
          Execute the task for the specified index.
 

Method Detail

execute

void execute(int index)
Execute the task for the specified index.


cleanup

void cleanup()
This is called once from each worker thread when finish() is called. It gives a chance to do any necessary cleanup.



Copyright © 1999-2011 by Peter Eastman.