Simon Cruanes
772e6e6844
renamed Futures into Future
2013-03-20 15:27:44 +01:00
Simon Cruanes
1d2e514d45
parametrize Futures.Pool with lifetime of transient threads; also give them time to
...
process jobs by increasing max_load temporarily
2013-03-20 10:54:26 +01:00
Simon Cruanes
c8b7b7dfed
added Futures.sleep function;
...
Futures.MVar implemented;
Futures.sequence implemented (quite subtle)
2013-03-19 17:12:26 +01:00
Simon Cruanes
9708c4b01c
Futures.MVar module (not implemented) for sharing values;
...
handlers to attach on a future to react upon failure/success/termination;
Futures.map implemented using handlers, flatMap also uses handlers (more lightweight);
growable thread pool (transient threads are added when the number of waiting jobs is too high)
2013-03-19 16:11:38 +01:00
Simon Cruanes
23029332df
added Futures.is_done function;
...
.ocamlinit file to import stuff in the toplevel
2013-03-19 15:10:41 +01:00
Simon Cruanes
41274c309e
implementation of Futures
2013-03-19 15:04:18 +01:00
Simon Cruanes
205d47e81d
interface for preemptive threading Futures
2013-03-19 14:35:19 +01:00