Hi,

I have a few kinds of tasks like the ones reading from a TCP socket or
listening for TCP connections, that need to be shut down when
unneeded. How can I wake up/kill a task waiting for data in
Reader.read() method or similar?

In the master branch I can set_timeout and wake up once a while (which
seems like ugly hack too) In 0.10 there is no even timeouts. Is there
any way to interrupt or kill a task?

--
Paul
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to