Commit graph

2795 commits

Author SHA1 Message Date
Roland Kuhn
0e66cd0d8c add locking to CTD-mbox
Up to now it relied on the ActorRef's lock, but that has the side effect that a
large time may pass between the suspend test and the actual execution. With
this lock in place, the ActorRef lock should never block and the time between
suspend and the last actor execution is shortened to some cycles (modulo GC).
2011-03-06 22:45:44 +01:00
Roland Kuhn
e1b266c840 add test to ActorModelSpec
dispatcherShouldHandleQueueingFromMultipleThreads tests for possible race
conditions in prohibiting multiple threads running the same actor concurrently
2011-03-06 21:53:09 +01:00
Roland Kuhn
3d28e6ad0f create akka-testkit subproject
- modify AkkaProject.scala
- move CallingThreadDispatcher & Spec and TestKit into akka-testkit
- update FSMTimingSpec accordingly
2011-03-05 14:36:08 +01:00
Roland Kuhn
337d34eac1 first shot at CallingThreadDispatcher
- add some useful methods to akka.util.Switch and fix a typo
- adapt ActorModelSpec not to rely on the Meet message (would not work with
  CallingThreadDispatcher)
- add CallingThreadDispatcher
2011-02-20 21:45:54 +01:00
Viktor Klang
c74bb062af Merge branch 'master' of github.com:jboner/akka 2011-02-11 20:13:55 +01:00
Viktor Klang
c43f8ae747 Potential fix for race-condition in RemoteClient 2011-02-11 20:13:42 +01:00
Derek Williams
b1223ac9b3 Update scalatest to version 1.3, closes #663 2011-02-11 10:08:05 -07:00
Viktor Klang
d1213f26bb Fixing neglected configuration in WorkStealer 2011-02-10 13:17:35 +01:00
Garrick Evans
418b5cee25 Merge branch 'master' of github.com:jboner/akka 2011-02-08 07:22:45 -08:00
Garrick Evans
acab31aa15 changed pass criteria for testBoundedCapacityActorPoolWithMailboxPressure to account for more capacity additions 2011-02-08 07:22:23 -08:00
Viktor Klang
b472346184 Merge branch 'master' of github.com:jboner/akka 2011-02-08 16:14:50 +01:00
Viktor Klang
e43ccf35d2 API improvements to Futures and some code cleanup 2011-02-08 16:14:40 +01:00
Viktor Klang
83f9c4982f Fixing ticket #652 - Reaping expired futures 2011-02-08 15:06:13 +01:00
Peter Vlugter
e2e0abedf8 Exclude samples and sbt plugin from parent pom 2011-02-08 16:16:01 +13:00
Peter Vlugter
b23528b66e Fix publish release to include parent poms correctly 2011-02-08 12:36:47 +13:00
Viktor Klang
bc423fcc76 Fixing ticket #645 adding support for resultWithin on Future 2011-02-07 18:59:49 +01:00
Viktor Klang
4b9621da87 Fixing #648 Adding support for configuring Netty backlog in akka config 2011-02-07 10:31:33 +01:00
Peter Vlugter
ca9b234dab Fix for local actor ref home address
- home address is set on deserialization
- flag for client-managed actor ref so that having
  a home address doesn't imply client-managed
2011-02-04 15:16:46 +13:00
Viktor Klang
d9d4db41f9 Adding Java API for ReceiveTimeout 2011-02-03 14:37:08 +01:00
Garrick Evans
93411d77b6 Merge branch 'master' of github.com:jboner/akka 2011-02-01 15:00:38 -08:00
Garrick Evans
e4efff1a78 ticket #634 - add actor pool. initial version with unit tests 2011-02-01 14:56:34 -08:00
Peter Vlugter
d3f4e00799 Disable -optimise and -Xcheckinit compiler options 2011-02-02 08:53:29 +13:00
Peter Vlugter
83d0b12803 Enable compile options in sub projects 2011-02-01 17:46:45 +13:00
Viktor Klang
3c9ce3b0ca Fixing a possible race-condition in netty 2011-01-31 12:41:39 +01:00
Viktor Klang
bd185eb5d4 Changing to getPathInfo instead of getRequestURI for Mist 2011-01-28 12:42:31 +01:00
Viktor Klang
303c03dd2d Porting the tests from wip-628-629 2011-01-26 14:06:40 +01:00
Viktor Klang
44867351c5 Potential fix for #628 and #629 2011-01-26 13:55:39 +01:00
Viktor Klang
1749965098 Merge branch 'master' of github.com:jboner/akka 2011-01-26 13:50:37 +01:00
Viktor Klang
64f0e8297d Potential fix for #628 and #629 2011-01-25 18:27:25 +01:00
Viktor Klang
6376061a70 Potential fix for #628 and #629 2011-01-25 16:23:50 +01:00
Viktor Klang
64484f07de Added support for empty inputs for fold and reduce on Future 2011-01-24 17:42:56 +01:00
Viktor Klang
35457a4ecc Refining signatures on fold and reduce 2011-01-24 17:12:56 +01:00
Viktor Klang
ad26903410 Added Futures.reduce plus tests 2011-01-24 16:37:08 +01:00
Viktor Klang
9b2a187401 Adding unit tests to Futures.fold 2011-01-24 13:31:07 +01:00
Viktor Klang
ba3e71d28e Adding docs to Futures.fold 2011-01-24 13:10:52 +01:00
Viktor Klang
2c8a8e4f90 Adding fold to Futures and fixed a potential memory leak in Future 2011-01-24 12:14:50 +01:00
Derek Williams
1fd5fbefc4 Merge branch 'master' of github.com:jboner/akka 2011-01-22 08:35:19 -07:00
Derek Williams
4dd927d1e2 Use correct config keys. Fixes #624 2011-01-22 08:33:06 -07:00
Hiram Chirino
4a7ef220e9 Upgrade hawtdispatch to 1.1 2011-01-22 17:00:48 +08:00
Peter Vlugter
0959824b4e Fix dist building 2011-01-22 12:35:44 +13:00
Viktor Klang
149e060314 Adding Odds project enhancements 2011-01-21 12:10:48 +01:00
Viktor Klang
b4a6e8343f Merge branch 'master' of github.com:jboner/akka into newmaster 2011-01-21 11:06:17 +01:00
Peter Vlugter
d9539df003 Add release scripts 2011-01-21 16:36:44 +13:00
Peter Vlugter
208578e5bb Add build-release task 2011-01-21 16:31:21 +13:00
Viktor Klang
2a792cd7da Making MessageInvocation a case class 2011-01-20 18:33:44 +01:00
Viktor Klang
011e90b7ab Removing durable mailboxes from akka 2011-01-20 17:24:39 +01:00
Viktor Klang
536bb185f7 Reverting lazy addition on repos 2011-01-18 17:54:05 +01:00
Viktor Klang
d60694a4ae Fixing ticket #614 2011-01-18 17:48:34 +01:00
Viktor Klang
7c99f8829a Switching to Peters cleaner solution 2011-01-17 11:44:07 +01:00
Viktor Klang
47fb6a4421 Allowing forwards where no sender of the message can be found. 2011-01-17 11:30:13 +01:00