CS350 COS
COS
Loading...
Searching...
No Matches
Mutex Struct Reference

#include <mutex.h>

Collaboration diagram for Mutex:
[legend]

Public Member Functions

 LIST_ENTRY (Mutex) buckets
 

Data Fields

uint64_t status
 
Threadowner
 
Spinlock lock
 
WaitChannel chan
 

Detailed Description

Definition at line 8 of file mutex.h.

Member Function Documentation

◆ LIST_ENTRY()

Mutex::LIST_ENTRY ( Mutex  )

Field Documentation

◆ chan

WaitChannel Mutex::chan

Definition at line 12 of file mutex.h.

◆ lock

Spinlock Mutex::lock

Definition at line 11 of file mutex.h.

◆ owner

Thread* Mutex::owner

Definition at line 10 of file mutex.h.

◆ status

uint64_t Mutex::status

Definition at line 9 of file mutex.h.


The documentation for this struct was generated from the following file: