/[guile]/guile/guile-core/NEWS
ViewVC logotype

Diff of /guile/guile-core/NEWS

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.395 by dirk, Wed Jun 4 05:28:33 2003 UTC revision 1.396 by kryde, Wed Jun 4 16:46:02 2003 UTC
# Line 278  Returns the "effective" version number. Line 278  Returns the "effective" version number.
278  version string without the final micro-version number.  See "Changes  version string without the final micro-version number.  See "Changes
279  to the distribution" above.  to the distribution" above.
280    
281  ** Futures  ** Futures: future, make-future, future-ref
282    
283  Futures is a way of providing an alternative evaluation policy, very  Futures are like promises, but begun immediately in a new thread.  See
284  similar in principle to "promises".  Like promises, futures allow the  the "Futures" section in the reference manual.
 main process to continue instantly, but while promises postpone  
 evaluation ("lazy" evaluation) until the value is requested, futures  
 immediately starts evaluation in a parallel thread.  
   
 Futures are good when you want to express that "I'll need the value of  
 this computation sometime soon" and want to allow processing to go on  
 in the background until that time arrives.  
   
 ** New syntax: future FORM  
   
 Begin evaluation of FORM in a parallel thread and return the future  
 immediately.  (Akin to 'delay'.)  
   
 ** New procedure: future-ref FUTURE  
   
 Return the computed value of the future.  Wait if the computation is  
 not finished.  (Akin to 'force'.)  
285    
286  ** New syntax: parallel FORM ...  ** New syntax: parallel FORM ...
287    

Legend:
Removed from v.1.395  
changed lines
  Added in v.1.396

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26