diff options
| author | Flavio Percoco <flaper87@gmail.com> | 2015-01-25 23:54:09 +0100 |
|---|---|---|
| committer | Flavio Percoco <flaper87@gmail.com> | 2015-01-26 09:12:26 +0100 |
| commit | fff5600925cf3bbee2befd6957b727016765ebd0 (patch) | |
| tree | e5278f8e4351e1eea3bae743d6690c3ef88240c4 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | c80e556e159af38f86eea5ee2ba796d7c724c92b (diff) | |
| download | rust-fff5600925cf3bbee2befd6957b727016765ebd0.tar.gz rust-fff5600925cf3bbee2befd6957b727016765ebd0.zip | |
Make Unix and Windows impls consistent
There are some explicit Send/Sync implementations for Window's types
that don't exist in Unix. While the end result will be the same, I
believe it's clearer if we keep the explicit implementations consistent
by making the os-specific types Send/Sync where needed and possible.
This commit addresses pipe
src/libstd/sys/unix/pipe.rs
unsafe impl Send for UnixListener {}
unsafe impl Sync for UnixListener {}
src/libstd/sys/windows/pipe.rs
unsafe impl Send for UnixStream {}
unsafe impl Sync for UnixStream {}
unsafe impl Send for UnixListener {}
unsafe impl Sync for UnixListener {}
unsafe impl Send for UnixAcceptor {}
unsafe impl Sync for UnixAcceptor {}
unsafe impl Send for AcceptorState {}
unsafe impl Sync for AcceptorState {}
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
