Lines Matching refs:mode
8 An RW lock has three states: locked in read mode, locked in write mode, and unlocked.
12 - If there is no lock in write mode in the protected area, any task can add a lock in read mode.
14 - A lock in write mode can be added only when the protected area is in the unlocked state.
16 …ame shared resource. A lock in read mode allows access to a protected area in shared mode, and a l…
23 How does an RW lock implement lock in read mode and lock in write mode to control read/write access…
25 …A acquires the lock in write mode for the first time, other tasks cannot acquire or attempt to acq…
27 …quires the lock in read mode, the RW lock count increments by 1 when a task acquires or attempts t…
41 | LOS_RwlockRdLock| Requests the specified lock in read mode.|
42 | LOS_RwlockTryRdLock| Attempts to request a lock in read mode.|
43 | LOS_RwlockWrLock| Requests the specified lock in write mode.|
44 | LOS_RwlockTryWrLock| Attempts to request a lock in write mode.|
55 …OS_RwlockRdLock** to request a lock in read mode or call **LOS_RwlockWrLock** to request a lock in…
57 If a lock in read mode is requested:
63 …- If the lock in write mode is held by another task, the task cannot acquire the lock until the lo…
65 If a lock in write mode is requested:
67 … that holds the lock in read mode is the one that requests the lock in write mode, the task acquir…
69 …ready has a lock in read mode and the read task has a higher priority, the current task is suspend…
71 …e are three types of locks in read mode and write mode: non-block mode, permanent block mode, and …