Commit Graph

8 Commits

Author SHA1 Message Date
Matthew Flatt
65ad6aee20 fix `touch' to run a suspended future in the runtime thread
if no future thread is running the future; also adjust the
 policy for suspending a future so that even synchronized
 operations can suspend if there's other work to be done;
 also also fix `current-future' for nested `touch'es and when
 parallel futures are disabled
2010-10-07 14:58:53 -06:00
Matthew Flatt
15302dc844 adjust futures to decouple blocked futures from worker threads
which required adding a notion of "lightweight continuation" to
 the runtime system, where a lightweight continuation involves
 only frames from JIT0generated code (so that details of the stack
 layout are known, for example)
2010-10-07 07:39:16 -06:00
James Swaine
1a2c0546a6 current-future now returns #f if not inside a future, instead of null. Added documentation for current-future. 2010-08-19 09:36:25 -05:00
James Swaine
a41c9b882a Added (current-future) to the futures module (as an inlined, nonblocking primitive). 2010-08-18 23:33:22 -05:00
Eli Barzilay
7b14a1f585 "Racunit" -> "Rackunit" 2010-05-17 12:07:32 -04:00
Jay McCarthy
bc5cf30ebe Renaming rktunit to racunit 2010-04-30 10:57:32 -06:00
Jay McCarthy
f70ffca756 Renaming schemeunit to rktunit and adding compat layer 2010-04-29 15:00:02 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00