Commit graph

7 commits

Author SHA1 Message Date
Adam Voss
cce29dfa51 Changes all occurances of Typesafe copyright to extend to 2014. 2014-02-04 21:20:09 -06:00
Patrik Nordwall
615c6b572c =* #2966 Reduce warnings from compile, test, scaladoc 2014-01-24 11:47:57 +01:00
Roland Kuhn
e14f22f2e3 rework LARS, see #3428
- tasks are still enqueued without reading the clock
- in order to be resilient against timer thread over-sleeping the tasks
  are passed to the timer thread using an AbstractNodeQueue and the
  wheel itself is now private to the timer thread
- reuse queue Nodes along the way to minimize allocation costs

The problem with the old implementation was that the timer thread could
sleep too long, then wake up and run multiple buckets in quick
succession. Tasks enqueued just before that event could then get
executed basically immediately, i.e. before their allotted time.
2013-06-19 15:28:23 +02:00
Viktor Klang
1f694a3612 #3405 - fix race between consumer and producer for MPSC 2013-05-28 16:54:58 +02:00
Viktor Klang
c48a2c4aac Renaming peek() to peekNode and making it protected, then creating a new peek that returns T 2013-04-03 20:55:41 +02:00
Viktor Klang
68dfada8bc Moving in isEmpty and count into AbstractNodeQueue 2013-04-03 20:05:20 +02:00
Viktor Klang
fb2decbcda Adding high-performance MPSC queue based mailbox to Akka 2013-03-14 14:37:57 +01:00