Loading...
Searching...
No Matches
mutex_cancel_t Struct Reference

A cancellation structure for use with mutex_lock_cancelable and mutex_cancel. More...

Detailed Description

A cancellation structure for use with mutex_lock_cancelable and mutex_cancel.

Note
The contents of this structure are internal.

Definition at line 213 of file mutex.h.

#include <mutex.h>

Data Fields

mutex_tmutex
 The mutex to lock.
 
thread_tthread
 The thread trying to lock the mutex.
 
uint8_t cancelled
 Flag whether the mutex has been cancelled.
 

Field Documentation

◆ cancelled

uint8_t mutex_cancel_t::cancelled

Flag whether the mutex has been cancelled.

Definition at line 216 of file mutex.h.

◆ mutex

mutex_t* mutex_cancel_t::mutex

The mutex to lock.

Definition at line 214 of file mutex.h.

◆ thread

thread_t* mutex_cancel_t::thread

The thread trying to lock the mutex.

Definition at line 215 of file mutex.h.


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