KolibriOS kernel
sync.inc File Reference

Macros

#define SimpleMutex(name)
 simplest mutex. More...
 
#define WaitSimpleMutex(name)
 
#define ReleaseSimpleMutex(name)
 
#define TryWaitSimpleMutex(name)
 result in eax and in flags More...
 
#define SimpleCriticalSection(name)
 
#define WaitSimpleCriticalSection(name)
 
#define ReleaseSimpleCriticalSection(name)
 
#define TryWaitSimpleCriticalSection(name)
 result in eax and in flags More...
 

Variables

label mutex_init
 
label mutex_lock
 
label mutex_unlock
 
label init_rwsem
 
label down_read
 
label down_write
 
label up_read
 
label up_write
 
label sync_inc_fix
 
fix sync_inc
 

Macro Definition Documentation

◆ ReleaseSimpleCriticalSection

#define ReleaseSimpleCriticalSection (   name)

◆ ReleaseSimpleMutex

#define ReleaseSimpleMutex (   name)

◆ SimpleCriticalSection

#define SimpleCriticalSection (   name)

◆ SimpleMutex

#define SimpleMutex (   name)

simplest mutex.

Source
core/sync.inc:254

◆ TryWaitSimpleCriticalSection

#define TryWaitSimpleCriticalSection (   name)

result in eax and in flags

Source
core/sync.inc:336

◆ TryWaitSimpleMutex

#define TryWaitSimpleMutex (   name)

result in eax and in flags

Source
core/sync.inc:283

◆ WaitSimpleCriticalSection

#define WaitSimpleCriticalSection (   name)

◆ WaitSimpleMutex

#define WaitSimpleMutex (   name)

Variable Documentation

◆ down_read

label down_read

◆ down_write

label down_write

◆ init_rwsem

label init_rwsem

◆ mutex_init

label mutex_init

◆ mutex_lock

label mutex_lock

◆ mutex_unlock

label mutex_unlock

◆ sync_inc

fix sync_inc
Initial value
sync_inc_fix
Source
core/sync.inc:251

◆ sync_inc_fix

label sync_inc_fix

◆ up_read

label up_read

◆ up_write

label up_write