[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with threads
From: |
Florian Berger |
Subject: |
problem with threads |
Date: |
Tue, 24 Feb 2004 15:09:37 -0500 |
dunno if this is a bug, but i cant think of it as a feature.
i used threads (about 5 of them at once) to load up data in the beginning of my
opengl prog. these threads just load the data and then terminate.
when i did so i got much higher(!!) frame rates than without using threads at
all (simply loading the data subseqently at the beginning).
to me this seems, as if linux or the kernel or libc somewhat reserve much cpu
for the many threads, which then (after their termination) is all available for
the application.
however, but both ways "top" shows 99%CPU for my prog.
somewhat puzzeling !?
please help,
floh
------------------------------------------------------------
Dipl.-Ing. Florian Berger - Ars Electronica Futurelab
Email: address@hidden
Homepage: http://www.geocities.com/harpin_floh
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- problem with threads,
Florian Berger <=