This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/4274] Performance issue: pthread_cond_signal() causes three context switches instead of one


http://sourceware.org/bugzilla/show_bug.cgi?id=4274

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #12 from Rich Felker <bugdal at aerifal dot cx> 2012-09-19 08:54:35 UTC ---
Calling pthread_cond_signal without holding the mutex is perfectly valid and
cannot result in signals being lost unless the implementation is buggy (which
glibc may be; see bug #13165). What it can result in, however, is deviation
from the expected priority behavior guaranteed by the priority scheduling
options of POSIX.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]