testing non-blocking reads on mac os x

here’s a small program to test non-blocking reads that i wrote to try and diagnose a problem with mysql on mac os x. the surprising thing to me is that i have occasionally seen reads that returned with EAGAIN take about 15000 µsec. on my x86_64 linux development box, nothing ever cracks the 20 µsec reporting threshold in the code.

« music from the oc, bitchyour los angeles neighborhood councils, proudly spending money in... »