The class future implements the concept of future as found in some new languages. A future is a delayed return value. If a task tries to read the value contained in the future object before it was set, the task is suspended until this value is defined. Upon definition of the value, any task can read the value and all tasks waiting for the value are waken up.
© 2004-2010 bbv Software Services AG / Apparatus Services