Chris O'Byrne - YAVRTOS

mutex_t Struct Reference

A structure describing a mutex. More...


Data Fields

struct taskstruct * owner
 

For internal use only.

The task that currently owns the mutex


semaphore_t notification
 

For internal use only.

The semaphore that other tasks waiting to own the mutex will suspend themselves against


struct mutexstruct * next
 

For internal use only.

The next mutex that is owned by this task - used to release mutexes owned by a stopping task



Detailed Description

A structure describing a mutex.

See also:
Mutexes

Field Documentation

struct taskstruct* mutex_t::owner [read]

For internal use only.

The task that currently owns the mutex

For internal use only.

The semaphore that other tasks waiting to own the mutex will suspend themselves against

struct mutexstruct* mutex_t::next [read]

For internal use only.

The next mutex that is owned by this task - used to release mutexes owned by a stopping task


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

YAVRTOS and YAVRTOS documentation Copyright © 2007-2008 Chris O'Byrne. Email - chris <at> obyrne <dot> com