rust/src/libstd/sys/windows
Flavio Percoco fde4472848 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 tcp. Existing differences below:

src/libstd/sys/unix/tcp.rs
unsafe impl Sync for TcpListener {}
unsafe impl Sync for AcceptorInner {}

src/libstd/sys/windows/tcp.rs
unsafe impl Send for Event {}
unsafe impl Sync for Event {}
unsafe impl Send for TcpListener {}
unsafe impl Sync for TcpListener {}
unsafe impl Send for TcpAcceptor {}
unsafe impl Sync for TcpAcceptor {}
unsafe impl Send for AcceptorInner {}
unsafe impl Sync for AcceptorInner {}
2015-01-26 09:12:28 +01:00
..
backtrace.rs Test fixes and rebase conflicts 2015-01-21 10:32:56 -08:00
c.rs std::dynamic_lib: Fix Windows error handling 2015-01-19 00:12:45 +09:00
condvar.rs Change Mutex to use SRWLock on Windows. 2015-01-12 21:35:39 -05:00
ext.rs Add ffi::OsString and OsStr 2015-01-24 10:21:30 -08:00
fs.rs Fallout from stabilization. 2015-01-21 08:11:07 -08:00
helper_signal.rs sed -i -s 's/\bmod,/self,/g' **/*.rs 2015-01-03 22:42:21 -05:00
mod.rs Add ffi::OsString and OsStr 2015-01-24 10:21:30 -08:00
mutex.rs Change Mutex to use SRWLock on Windows. 2015-01-12 21:35:39 -05:00
os.rs Fallout from stabilization. 2015-01-21 08:11:07 -08:00
os_str.rs Add ffi::OsString and OsStr 2015-01-24 10:21:30 -08:00
pipe.rs Make Unix and Windows impls consistent 2015-01-26 09:12:26 +01:00
process.rs std: Stabilize the std::hash module 2015-01-07 12:18:08 -08:00
rwlock.rs std: Rewrite the sync module 2014-12-05 00:53:22 -08:00
stack_overflow.rs More fallout 2015-01-02 10:28:19 +13:00
sync.rs Change Mutex to use SRWLock on Windows. 2015-01-12 21:35:39 -05:00
tcp.rs Make Unix and Windows impls consistent 2015-01-26 09:12:28 +01:00
thread.rs More test fixes 2015-01-06 21:26:48 -08:00
thread_local.rs Test fixes and rebase conflicts 2015-01-21 10:32:56 -08:00
time.rs Rewrite Condvar::wait_timeout and make it public 2015-01-16 09:17:37 -08:00
timer.rs Impl Send for Timer on Windows 2015-01-19 05:55:15 -05:00
tty.rs Implement TTY::get_winsize for Windows 2015-01-06 00:54:09 -05:00
udp.rs Runtime removal: refactor pipes and networking 2014-11-08 20:40:38 -08:00