PKUOS - Pintos
Pintos source browser for PKU Operating System course
Data Fields
semaphore_elem Struct Reference

One semaphore in a list. More...

Collaboration diagram for semaphore_elem:
Collaboration graph
[legend]

Data Fields

struct list_elem elem
 List element. More...
 
struct semaphore semaphore
 This semaphore. More...
 

Detailed Description

One semaphore in a list.

Definition at line 250 of file synch.c.

Field Documentation

◆ elem

struct list_elem semaphore_elem::elem

List element.

Definition at line 252 of file synch.c.

Referenced by cond_signal(), and cond_wait().

◆ semaphore

struct semaphore semaphore_elem::semaphore

This semaphore.

Definition at line 253 of file synch.c.

Referenced by cond_wait().


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