Hello All.

I have a funny thing going on with pthreads in my Arm Linux application.

First, a little background.  I'm using the "nanoEngine" from Brightstar
Engineering.  Thus, I don't really know what kernel I'm running, but I can
find it out if anyone needs it to help out.

Anyway, I'm finding that I get a performance hit after a certain thread is
woken up by a condition variable and then killed.  Now, this may not have
anything to do with the thread itself, I guess.  The thread reads from a
serial port, placing data a byte at a time into a file.

After the thread is done it goes back to sleep, and my application
continues, however it is substantially slower (about 14% slower).  I have
closed all files.  Also, I have even tried killing the thread all together
(instead of putting it back to sleep) and this did not help either.

Has anyone heard of this?

Thanks,

Phil
MIT - Space Systems Lab



_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to