[rust-dev] Why focus on single-consumer message passing?

György Andrasek jurily at gmail.com
Sat Jan 25 11:39:31 PST 2014


On 01/24/2014 04:32 PM, Daniel Micay wrote:
> Supporting selection over multiple queues would involve using kqueue
> on FreeBSD/OSX and eventfd/epoll on Linux instead of a condition
> variable for the not empty condition. For Windows, the regular
> condition variables will work fine. This does have a cost, and may not
> make sense with the same type.

Switching to epoll and friends would allow select over ports and file 
descriptors and timers with the same call, which Rust desperately needs.


More information about the Rust-dev mailing list