Changes

211 bytes added ,  20:27, 29 June 2016
no edit summary
Line 293: Line 293:  
== Ciritical Section (light-weight mutex) ==
 
== Ciritical Section (light-weight mutex) ==
   −
== CriticalSection::Initialize ==
+
Similar to a mutex, but faster and no priority inheritance. Therefore problems such as priority inversion may occur.
   −
Same thread ownership as a mutex ?
+
=== CriticalSection::Initialize ===
 +
 
 +
Creates an object
    
=== CriticalSection::Enter ===
 
=== CriticalSection::Enter ===
 +
 +
Locks out threads from accessing a critical section.
    
=== CriticalSection::Leave ===
 
=== CriticalSection::Leave ===
 +
 +
Unlocks and allows for access to a critical section.
    
== Semaphore ==
 
== Semaphore ==
29

edits