This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <linux/module.h> | |
#include <linux/init.h> | |
#include <linux/mutex.h> | |
DEFINE_MUTEX (master_mutex); | |
EXPORT_SYMBOL(master_mutex); | |
static int __init mutex_master_init(void) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* imports suppressed */ | |
class MemoizingActor(actual: ActorRef) extends Actor { | |
case class DropState(message: Any) | |
override def receive: Actor.Receive = actualReceive(Map()) | |
def actualReceive(data: Map[Any, Future[Any]]): Receive = { | |
case DropState(any) => |
NewerOlder