rust/src/librustuv
Alex Crichton 47ef20014c Shuffle around ownership in concurrent queues
Beforehand, using a concurrent queue always mandated that the "shared state" be
stored internally to the queues in order to provide a safe interface. This isn't
quite as flexible as one would want in some circumstances, so instead this
commit moves the queues to not containing the shared state.

The queues no longer have a "default useful safe" interface, but rather a
"default safe" interface (minus the useful part). The queues have to be shared
manually through an Arc or some other means. This allows them to be a little
more flexible at the cost of a usability hindrance.

I plan on using this new flexibility to upgrade a channel to a shared channel
seamlessly.
2014-02-11 16:32:00 -08:00
..
access.rs Implement clone() for TCP/UDP/Unix sockets 2014-02-05 11:43:49 -08:00
addrinfo.rs libstd: Use iotest! for for get_host_addresses. 2014-01-24 16:44:16 -05:00
async.rs Remove do keyword from librustuv 2014-01-29 09:15:41 -05:00
file.rs rustuv: Require all results are used and fix fallout 2014-02-03 09:32:35 -08:00
homing.rs Implement clone() for TCP/UDP/Unix sockets 2014-02-05 11:43:49 -08:00
idle.rs std: Remove try_send_deferred plus all fallout 2014-02-03 12:05:16 -08:00
lib.rs Implement clone() for TCP/UDP/Unix sockets 2014-02-05 11:43:49 -08:00
macros.rs rustuv: Require all results are used and fix fallout 2014-02-03 09:32:35 -08:00
net.rs librustuv -- fix unsafe sharing in rustuv 2014-02-11 16:55:24 -05:00
pipe.rs Implement clone() for TCP/UDP/Unix sockets 2014-02-05 11:43:49 -08:00
process.rs rustuv: Reimplement without using std::rt::sched 2013-12-24 14:42:00 -08:00
queue.rs Shuffle around ownership in concurrent queues 2014-02-11 16:32:00 -08:00
rc.rs Implement clone() for TCP/UDP/Unix sockets 2014-02-05 11:43:49 -08:00
signal.rs rustuv: Require all results are used and fix fallout 2014-02-03 09:32:35 -08:00
stream.rs Removed all instances of XXX in preparation for relaxing of FIXME rule 2014-01-26 14:42:53 -05:00
timer.rs Move replace and swap to std::mem. Get rid of std::util 2014-02-11 05:21:35 +08:00
tty.rs rustuv: Reimplement without using std::rt::sched 2013-12-24 14:42:00 -08:00
uvio.rs rustuv: Require all results are used and fix fallout 2014-02-03 09:32:35 -08:00
uvll.rs Removed all instances of XXX in preparation for relaxing of FIXME rule 2014-01-26 14:42:53 -05:00