-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Pedro Inacio on 3/11/2006 3:11 AM: > > Since I want to run the application on Windows also, I have ported it to > run on Cygwin. > Everything is ok except the poor performance of the select() function. > It is too dam slow.
I'm afraid that this is not a very good bug report, as you have not attempted to describe WHAT is too slow, and have not provided a simple test case that compiles out of the box, with timing numbers on the test case compared between Linux and Cygwin. Cygwin is only as fast as the underlying Windows system calls permit it to be. Also, cygwin is open source. Go look at the source code to select() and you will see that it is very complex, since Windows does not provide good hooks for an efficient implementation. If you would like it to be faster, then consider writing a patch to cygwin that can speed it up. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEEu9084KuGfSFAYARAtXlAKDSeTckY9Sx88VnmxjABJtDxu4XDQCgvbGo GzYTAVOfUufDA0N6+j1No0M= =ea/r -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/