Function report |
Source Code:ipc\sem.c |
Create Date:2022-07-28 16:43:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Enter the mode suitable for non-simple operations:* Caller must own sem_perm.lock.
Proto:static void complexmode_enter(struct sem_array *sma)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sem_array * | sma |
| 316 | If >0: global lock required > 0 Then |
| 322 | >0: global lock required = Switching from the mode suitable for simple ops* to the mode for complex ops is costly. Therefore:* use some hysteresis |
| 323 | Return |
| 325 | >0: global lock required = Switching from the mode suitable for simple ops* to the mode for complex ops is costly. Therefore:* use some hysteresis |
| 327 | When i < . of semaphores in array cycle |
| Name | Describe |
|---|---|
| sem_lock | If the request contains only one semaphore operation, and there are* no complex transactions pending, lock only the semaphore involved |
| sysvipc_sem_proc_show |
| 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 |