12 lines
394 B
Java
12 lines
394 B
Java
|
|
/**
|
||
|
|
* Copyright (C) 2009-2011 Typesafe Inc. <http://www.typesafe.com>
|
||
|
|
*/
|
||
|
|
|
||
|
|
package akka.dispatch;
|
||
|
|
|
||
|
|
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
|
||
|
|
|
||
|
|
abstract class AbstractMailbox {
|
||
|
|
private volatile int _status = Mailbox.Idle();
|
||
|
|
protected static AtomicIntegerFieldUpdater<AbstractMailbox> updater = AtomicIntegerFieldUpdater.newUpdater(AbstractMailbox.class, "_status");
|
||
|
|
}
|