Skip to content

Commit ea96248

Browse files
author
Eric Reed
committed
---
yaml --- r: 142687 b: refs/heads/try2 c: b60cf0c h: refs/heads/master i: 142685: 10ed138 142683: 00fcd40 142679: ac7d52d 142671: 21d6ed5 142655: 7cc0d9a v: v3
1 parent fe9036e commit ea96248

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 6a1a7819c9cb15e280681c547548ff8d47412f04
8+
refs/heads/try2: b60cf0c5b0cf36625083c2624df9fb35d0af3578
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libstd/rt/rtio.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pub type IoFactoryObject = uvio::UvIoFactory;
2323
pub type RtioTcpStreamObject = uvio::UvTcpStream;
2424
pub type RtioTcpListenerObject = uvio::UvTcpListener;
2525
pub type RtioUdpSocketObject = uvio::UvUdpSocket;
26-
pub type RtioTcpSocketObject = (); // TODO
2726

2827
pub trait EventLoop {
2928
fn run(&mut self);

branches/try2/src/libstd/rt/uv/uvio.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ impl Drop for UvTcpListener {
316316
}
317317

318318
impl RtioSocket for UvTcpListener {
319-
// TODO
319+
// XXX implement
320320
fn socket_name(&self) -> IpAddr { fail!(); }
321321
}
322322

@@ -356,7 +356,7 @@ impl RtioTcpListener for UvTcpListener {
356356
return self.incoming_streams.recv();
357357
}
358358

359-
// TODO
359+
// XXX implement
360360
fn accept_simultaneously(&self) { fail!(); }
361361
fn dont_accept_simultaneously(&self) { fail!(); }
362362
}
@@ -379,7 +379,7 @@ impl Drop for UvTcpStream {
379379
}
380380

381381
impl RtioSocket for UvTcpStream {
382-
// TODO
382+
// XXX implement
383383
fn socket_name(&self) -> IpAddr { fail!(); }
384384
}
385385

@@ -455,7 +455,7 @@ impl RtioTcpStream for UvTcpStream {
455455
return result_cell.take();
456456
}
457457

458-
// TODO
458+
// XXX implement
459459
fn peer_name(&self) -> IpAddr { fail!(); }
460460
fn control_congestion(&self) { fail!(); }
461461
fn nodelay(&self) { fail!(); }
@@ -480,7 +480,7 @@ impl Drop for UvUdpSocket {
480480
}
481481

482482
impl RtioSocket for UvUdpSocket {
483-
// TODO
483+
// XXX implement
484484
fn socket_name(&self) -> IpAddr { fail!(); }
485485
}
486486

@@ -498,7 +498,7 @@ impl RtioUdpSocket for UvUdpSocket {
498498
let task_cell = Cell::new(task);
499499
let alloc: AllocCallback = |_| unsafe { slice_to_uv_buf(*buf_ptr) };
500500
do self.recv_start(alloc) |watcher, nread, _buf, addr, flags, status| {
501-
let _ = flags; // TODO add handling for partials?
501+
let _ = flags; // XXX add handling for partials?
502502

503503
watcher.recv_stop();
504504

@@ -548,7 +548,7 @@ impl RtioUdpSocket for UvUdpSocket {
548548
return result_cell.take();
549549
}
550550

551-
// TODO
551+
// XXX implement
552552
fn join_multicast(&self, _multi: IpAddr) { fail!(); }
553553
fn leave_multicast(&self, _multi: IpAddr) { fail!(); }
554554

0 commit comments

Comments
 (0)