Function report |
Source Code:ipc\sem.c |
Create Date:2022-07-28 16:43:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sem_unlock
Proto:static inline void sem_unlock(struct sem_array *sma, int locknum)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct sem_array * | sma | |
int | locknum |
440 | If locknum == SEM_GLOBAL_LOCK Then |
444 | Else |
Name | Describe |
---|---|
newary | wary - Create a new semaphore set*@ns: namespace*@params: ptr to the structure that contains key, semflg and nsems* Called with sem_ids.rwsem held (as a writer) |
freeary | Free a semaphore set. freeary() is called with sem_ids.rwsem locked* as a writer and the spinlock for this semaphore set hold. sem_ids.rwsem* remains locked on exit. |
semctl_setval | |
semctl_main | |
semctl_down | This function handles some semctl commands which require the rwsem* to be held in write mode.* NOTE: no locks must be held, the rwsem is taken inside this function. |
find_alloc_undo | d_alloc_undo - lookup (and if not present create) undo array*@ns: namespace*@semid: semaphore array id* The function looks up (and if not present creates) the undo structure.* The size of the undo structure depends on the size of the semaphore |
do_semtimedop | |
exit_sem | add semadj values to semaphores, free undo structures |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |