File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
branches/snap-stage3/src/libstd/sys/unix Expand file tree Collapse file tree 2 files changed +6
-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: 11f71ec7016952744f999dd6e668825490b1855f
4
+ refs/heads/snap-stage3: 1a73ccc8db0a10e82632808e058645f2d6fa0095
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 @@ -117,6 +117,9 @@ pub struct UnixStream {
117
117
write_deadline : u64 ,
118
118
}
119
119
120
+ unsafe impl Send for UnixStream { }
121
+ unsafe impl Sync for UnixStream { }
122
+
120
123
impl UnixStream {
121
124
pub fn connect ( addr : & CString ,
122
125
timeout : Option < u64 > ) -> IoResult < UnixStream > {
@@ -215,6 +218,7 @@ pub struct UnixListener {
215
218
path : CString ,
216
219
}
217
220
221
+ unsafe impl Send for UnixListener { }
218
222
unsafe impl Sync for UnixListener { }
219
223
220
224
impl UnixListener {
@@ -261,6 +265,7 @@ struct AcceptorInner {
261
265
closed : atomic:: AtomicBool ,
262
266
}
263
267
268
+ unsafe impl Send for AcceptorInner { }
264
269
unsafe impl Sync for AcceptorInner { }
265
270
266
271
impl UnixAcceptor {
You can’t perform that action at this time.
0 commit comments