about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-17 14:34:25 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-24 20:06:37 -0700
commit56cae9b3c0a49ff39f14570301db43008e810695 (patch)
tree3e85ccd4d544a76031847cddb3009bf477d9159a /src/rustllvm/ExecutionEngineWrapper.cpp
parent6bf3fca8ff90bbeff8d5c437aa784d0dbf8f9455 (diff)
downloadrust-56cae9b3c0a49ff39f14570301db43008e810695.tar.gz
rust-56cae9b3c0a49ff39f14570301db43008e810695.zip
comm: Implement synchronous channels
This commit contains an implementation of synchronous, bounded channels for
Rust. This is an implementation of the proposal made last January [1]. These
channels are built on mutexes, and currently focus on a working implementation
rather than speed. Receivers for sync channels have select() implemented for
them, but there is currently no implementation of select() for sync senders.

Rust will continue to provide both synchronous and asynchronous channels as part
of the standard distribution, there is no intent to remove asynchronous
channels. This flavor of channels is meant to provide an alternative to
asynchronous channels because like green tasks, asynchronous channels are not
appropriate for all situations.

[1] - https://mail.mozilla.org/pipermail/rust-dev/2014-January/007924.html
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions