On Wed, 1 Jul 2009, Corinna Vinschen wrote: > On Jun 30 14:23, Brian Ford wrote: > > Even more so for context switches ;-): > > > > http://www.cygwin.com/ml/cygwin-developers/2007-10/msg00040.html > > > > although this performance penalty was removed from read/write and friends: > > > > http://www.cygwin.com/ml/cygwin-developers/2007-12/msg00004.html > > > > it is still present for send/recv and friends. > > I removed the sig_dispatch_pending calls from send/recv and friends.
Thank you! This should have removed the thread handshake overhead from most all I/O calls now. I just wish we could figure out a way to avoid it everywhere unless it is actually necessary. I know, PTC :-). > Note, however, that this has no influence on the ssh/scp results we were > talking about in this thread. ssh/scp are using read/write calls. Sorry, I should have investigated and bench marked the difference. -- Brian Ford Staff Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple