User Tools

Site Tools


at:tutorial:actors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
at:tutorial:actors [2007/04/07 18:06] – added tvcutsemat:tutorial:actors [2007/04/07 18:10] tvcutsem
Line 279: Line 279:
 o<-m()@FutureMessage o<-m()@FutureMessage
 </code> </code>
 +
 +Finally, it is possible to first invoke ''enableFutures(false)'' and later enable it by default anyway by invoking ''enableFutures(true)''. However, once futures have been enabled by default, they can no longer be "turned off" by default. The reason for this is that if two separate files load the futures module and one enables futures by default and the other does not, then the net result is that they will be enabled by default, which will make both applications work correctly. If futures could be disabled, this can cause one object to unexpectedly make other objects crash because they depend on futures.
  
 === Conditional Synchronisation with Futures === === Conditional Synchronisation with Futures ===
at/tutorial/actors.txt · Last modified: 2020/02/05 21:26 by elisag