Sunday, February 1, 2009

Ch4, Ex16

Value of a variable is "needed" when some thread has to wait for it to determine or the variable is determined. So clearly in second case thread won't wait and X will be computed.

Required Example:
X = {ALazyFunc}
X = 3

No comments:

Post a Comment