Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 22:21:59 -0400 (EDT)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        threads@freebsd.org
Cc:        jdp@freebsd.org
Subject:   Question about rtld-elf.  Anyone?.. Anyone?
Message-ID:  <Pine.GSO.4.10.10304282211190.28966-100000@pcnet1.pcnet.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10304282211190.28966-100000>