File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
branches/snap-stage3/src/libstd/sys/windows Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 18842f89f084c52588fe7cffe07f87bf6e90796a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: f5d619caf9f32458680fae55526b99582ca682dd
4
+ refs/heads/snap-stage3: 11f71ec7016952744f999dd6e668825490b1855f
5
5
refs/heads/try: f5d619caf9f32458680fae55526b99582ca682dd
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -214,6 +214,9 @@ pub struct UnixStream {
214
214
write_deadline : u64 ,
215
215
}
216
216
217
+ unsafe impl Send for UnixStream { }
218
+ unsafe impl Sync for UnixStream { }
219
+
217
220
impl UnixStream {
218
221
fn try_connect ( p : * const u16 ) -> Option < libc:: HANDLE > {
219
222
// Note that most of this is lifted from the libuv implementation.
@@ -559,6 +562,7 @@ pub struct UnixListener {
559
562
name : CString ,
560
563
}
561
564
565
+ unsafe impl Send for UnixListener { }
562
566
unsafe impl Sync for UnixListener { }
563
567
564
568
impl UnixListener {
@@ -605,13 +609,15 @@ pub struct UnixAcceptor {
605
609
deadline : u64 ,
606
610
}
607
611
612
+ unsafe impl Send for UnixAcceptor { }
608
613
unsafe impl Sync for UnixAcceptor { }
609
614
610
615
struct AcceptorState {
611
616
abort : Event ,
612
617
closed : atomic:: AtomicBool ,
613
618
}
614
619
620
+ unsafe impl Send for AcceptorState { }
615
621
unsafe impl Sync for AcceptorState { }
616
622
617
623
impl UnixAcceptor {
You can’t perform that action at this time.
0 commit comments