This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin signal bandwidth


While working on a project, I had the need to run a function every
millisecond.  So, my first attempt was to fork() and then loop sending a
signal then delaying 1ms.  What I found was that a cygwin process can
only recieve about 100 signals/sec before it uses up 100% of the
processor (on a PIII/850MHz).

Is it reasonable for me to conclude that cygwin uses about 8,000,000
cycles to process a single signal, or have I done something wrong?

-Rolf



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]