[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/44094: proplib has redundant locking
>Synopsis: proplib has redundant locking
>Arrival-Date: Mon Nov 15 15:40:00 +0000 2010
>Originator: Mindaugas Rasiukevicius
>Release: NetBSD 5.99.39
The NetBSD Project
proplib(3) has internal locking and is MP-safe. However, typical
user of interface either (a) uses it in a single-threaded manner
(b) needs to perform its own synchronisation and therefore provide
locking at upper, caller's level.
Note that interface parts which might block (e.g. allocate memory)
should be documented for consideration of locking strategy and/or
Consider removal of locking from proplib(3).
Main Index |
Thread Index |