Question about rtld-elf. Anyone?.. Anyone?
Daniel Eischen
eischen at pcnet1.pcnet.com
Mon Apr 28 19:22:02 PDT 2003
So I was glancing at rltd-elf, specifically lockdflt.c. There
seems to be an assumption that sigprocmask() can be used to
protect a thread from being swapped out. Am I reading this
right?
There are no such guarantees with libpthread. A thread
will be swapped out whenever its quantum expires, and if
you've got higher priority threads, they will always run
before those of lower priority -- even if they are spinning.
I'm trying to debug weird hangs with mozilla. Once it
hangs, I can't kill it except with SIGKILL, and then
it seems to be stuck in symlook_obj().
--
Dan Eischen
More information about the freebsd-threads
mailing list