Raul Metsma wrote:
http://rtedev.com/~raul/threads/threads.c
Compile this program under mingw
gcc -o threads.exe threads.c
./threads 600
now compile
http://rtedev.com/~raul/threads/main.c
with cygwin
and when I execute this, then threads.exe will eat 100% CPU
Is there any chance get this
windows Sleep() call, then does not occur this issue.
Could this be nanosleep() bug or something deeper?
Raul Metsma
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.
I can figure out who's setting NAME? I want
to make them stop.
Search from bashrc scripts "PS1" variable
Raul Metsma
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin
You're on W2K, I'm on XP, maybe there's a difference? I can easily
reproduce nearly 0% CPU with 1000 threads if no Cygwin process is
present and nearly 99% if a Cygwin process is present.
I have XP SP2 laptop and it occures on 200 threads
Raul Metsma
--
Unsubscribe
Seems this is something related CPU-s or total Windows thread count
I tested it on Windwos 2003, where are 2x2,4GHz Intel Xeon
There occurs this issue on 800 threads
Maybe is this something related with OS?
Raul Metsma
Corinna Vinschen wrote:
On Aug 25 12:30, Raul Metsma wrote:
Ohh never get
execute this, then threads.exe will eat 100% CPU
Raul Metsma
Pavel Tsekov wrote:
Hello,
On Thu, 25 Aug 2005, Raul Metsma wrote:
Sorry no Makefile based project, but in Visual C
http://rtedev.com/~raul/threads/Threads.zip
By doing this you are seriously reducing the chance that someone will
lly my CPU usage starts crowing from 200 threads. Seems like
this depends total running threads.
And again when I compile this while loop with winapi Sleep()
then the first program uses 2-3% CPU.
Raul Metsma
Jason Pyeron wrote:
On Wed, 24 Aug 2005 [EMAIL PROTECTED] wrote:
how about 6 windows 20
seems to be still same issue.
Maybe cygwin uses inside dll sleep?
I really hope to get this issue fixed
Raul Metsma
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ
8 matches
Mail list logo