Rechercher une page de manuel
ipc_lock
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
ipc_lock - Lock an ipc structure without rw_mutex heldSYNOPSIS
- struct kern_ipc_perm * ipc_lock(struct ipc_ids * ids, int id);
ARGUMENTS
ids
- IPC identifier set
id
- ipc id to look for
DESCRIPTION
Look for an id in the ipc ids idr and lock the associated ipc object.
The ipc object is locked on exit.
This is the routine that should be called when the rw_mutex is not already held, i.e. idr tree not protected: it protects the idr tree in read mode during the idr_find.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre