class SyncChannel

[source: scala/concurrent/SyncChannel.scala]

class SyncChannel[A]
extends AnyRef
A SyncChannel allows one to exchange data synchronously between a reader and a writer thread. The writer thread is blocked until the data to be written has been read by a corresponding reader thread.
Philipp Haller
2.0, 04/17/2008
Method Summary
def read : A
def write (data : A) : Unit
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def write(data : A) : Unit

def read : A