[Xcb] Developer mad at libx11-xcb
Barton C Massey
bart at cs.pdx.edu
Sun Feb 3 21:22:51 PST 2008
In message <20080204051251.GA7630 at kris.home> you wrote:
> Why do you set it non-blocking, though? Does that offer
> some advantage over select()ing on it (other than
> brevity)?
Heh. We *both* set it non-blocking and select on it. It's
all part of our insane scheme, supported by formal proofs
and everything, for making sure that XCB is completely
thread-transparent. We have to be very careful about weird
races in a multi-threaded environment and weird deadlocks in
a single-threaded environment, without any knowledge of
which one we're in.
Bart
More information about the Xcb
mailing list