Commit graph

2844 commits

Author SHA1 Message Date
Derek Williams
92a858eee8 Add locking in dispatchFuture 2011-02-28 11:48:51 -07:00
Derek Williams
4bd00bc92f Add friendlier method of starting a Future 2011-02-28 11:47:39 -07:00
Derek Williams
ac2462f080 move unneeded test outside of if statement 2011-02-28 10:38:58 -07:00
Derek Williams
d74dc4b2e8 Add low priority implicit for the default dispatcher 2011-02-28 10:37:42 -07:00
Derek Williams
3ef23c74b2 no need to hold onto the lock to throw the exception 2011-02-28 10:32:31 -07:00
Derek Williams
70cc5b706b Revert lock bypass. move lock calls outside of try block 2011-02-28 10:17:44 -07:00
Derek Williams
2409d98843 bypass lock when not needed 2011-02-27 17:49:42 -07:00
Debasish Ghosh
390fd42165 removed sjson from embedded_repo. Now available from scala-tools. Upgraded sjson version to 0.9 which compiles on Scala 2.8.1 2011-02-27 17:49:42 -07:00
Derek Williams
81ce1a1f62 Reorder Futures.future params to take better advantage of default values 2011-02-25 21:22:09 -07:00
Derek Williams
3c70224a27 Reorder Futures.future params to take better advantage of default values 2011-02-25 20:30:35 -07:00
Derek Williams
a62f065cd5 Can't share uuid lists 2011-02-25 18:26:46 -07:00
Derek Williams
261bd231aa Merge branch 'master' into derekjw-future-dispatch 2011-02-25 18:01:03 -07:00
Derek Williams
60dbbfcb36 Fix for timeout not being inherited from the builder future 2011-02-25 18:00:27 -07:00
Derek Williams
f459b166e0 Run independent futures on the dispatcher directly 2011-02-25 15:20:58 -07:00
Derek Williams
837124c780 Specialized traverse and sequence methods for Traversable[Future[A]] => Future[Traversable[A]] 2011-02-25 07:30:31 -07:00
Derek Williams
98f897cbac document some methods on Future 2011-02-23 19:57:42 -07:00
Viktor Klang
3c99a83943 Removing method that shouldve been removed in 1.0: startLinkRemote 2011-02-24 02:33:15 +01:00
Viktor Klang
56a387e079 Removing method that shouldve been removed in 1.0: startLinkRemote 2011-02-24 02:12:49 +01:00
Derek Williams
8fd982bfa0 Merge branch 'derekjw-future' 2011-02-23 06:05:58 -07:00
Viktor Klang
ba8c187b5c Fixing bug in ifOffYield 2011-02-23 13:26:27 +01:00
Derek Williams
67eae37500 Reduce allocations 2011-02-22 20:32:59 -07:00
Derek Williams
71a4e0cb8a Merge branch 'master' into derekjw-future 2011-02-22 18:58:32 -07:00
Derek Williams
88c1a7a5ed Add test for folding futures by composing 2011-02-22 18:57:25 -07:00
Derek Williams
2ee5d9f9f4 Add test for composing futures 2011-02-22 18:44:50 -07:00
Viktor Klang
169d97ee5f Fixing a regression in Actor 2011-02-22 19:21:45 +01:00
Viktor Klang
e2fc947d05 Merge branch 'wip-ebedd-tune' 2011-02-22 13:08:12 +01:00
Derek Williams
bbe2a3beb7 add Future.filter for use in for comprehensions 2011-02-21 18:28:17 -07:00
Derek Williams
cc1755f65b Add methods to Future for map, flatMap, and foreach 2011-02-21 17:24:51 -07:00
Viktor Klang
994736fe5e Added some minor migration comments for Scala 2.9.0 2011-02-21 02:50:22 +01:00
Viktor Klang
fb27cade64 Added a couple of final declarations on methods and reduced volatile reads 2011-02-20 22:32:36 +01:00
Garrick Evans
6ed7b4f442 Merge branch 'master' of github.com:jboner/akka 2011-02-15 15:58:58 -08:00
Garrick Evans
aeab74802c ticket 634; adds filters to respond to raw pressure functions; updated test spec 2011-02-15 15:58:43 -08:00
Peter Vlugter
92ddaacd79 Update to Multiverse 0.6.2 2011-02-16 11:19:15 +13:00
Derek Williams
b5b50ae039 Merge branch 'master' of github.com:jboner/akka 2011-02-14 21:41:39 -07:00
Derek Williams
2d8f03a782 Small change to better take advantage of latest Future changes 2011-02-14 21:41:31 -07:00
Viktor Klang
77a406dde7 Manual inlining and indentation 2011-02-15 01:28:29 +01:00
Viktor Klang
a17e9c271f Lowering overhead for receiving messages 2011-02-15 00:48:45 +01:00
Viktor Klang
86e6ffc321 Merge branch 'master' of github.com:jboner/akka into wip-ebedd-tune 2011-02-14 23:09:22 +01:00
Viktor Klang
ce5ad5eb97 Adding support for PoisonPill 2011-02-14 23:08:10 +01:00
Derek Williams
e7ad2a9d5d Add Future.receive(pf: PartialFunction[Any,Unit]), closes #636 2011-02-13 21:11:37 -07:00
Derek Williams
7437209ff4 Merge branch '661-derekjw' 2011-02-13 20:01:40 -07:00
Derek Williams
1e09ea8d26 Refactoring based on Viktor's suggestions 2011-02-13 19:59:54 -07:00
Viktor Klang
0d75541a4c Spellchecking and elided a try-block 2011-02-14 02:51:26 +01:00
Viktor Klang
5cae50d3bf Removing conditional scheduling 2011-02-14 02:40:57 +01:00
Viktor Klang
b5f9991ac9 Possible optimization for EBEDD 2011-02-14 02:34:40 +01:00
Derek Williams
94c4546d57 Allow specifying the timeunit of a Future's timeout. The compiler should also no longer store the timeout field since it is not referenced in any methods anymore 2011-02-12 12:26:56 -07:00
Derek Williams
58359e00c6 Add method on Future to await and return the result. Works like resultWithin, but does not need an explicit timeout. 2011-02-12 11:40:40 -07:00
Garrick Evans
97b26b63ec fix tabs; remove debugging log line 2011-02-12 10:01:29 -08:00
Garrick Evans
ec2dfe464a ticket 664 - update continuation handling to (re)support updating timeout 2011-02-12 09:57:24 -08:00
Derek Williams
6285ad14d6 move repeated code to it's own method, replace loop with tailrec 2011-02-12 09:16:29 -07:00