Scala Library
|
|
scala/concurrent/SyncChannel.scala
]
class
SyncChannel[A]
extends
AnyRefSyncChannel
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.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 |
Scala Library
|
|