Chris O'Byrne - YAVRTOS

mailbox_t Struct Reference

Structure describing mailboxes. More...


Data Fields

void * data
 

For internal use only.

The address of the current mailbox data


semaphore_t reading_semaphore
 

For internal use only.

Readers wait on this semaphore. This semaphore's value is the "version" of the mailbox data


semaphore_t writing_semaphore
 

For internal use only.

Writers wait on this semaphore for readers to finish reading, or for readers to suspend themselves on the mailbox



Detailed Description

Structure describing mailboxes.

See also:
Mailboxes

Field Documentation

For internal use only.

The address of the current mailbox data

For internal use only.

Readers wait on this semaphore. This semaphore's value is the "version" of the mailbox data

For internal use only.

Writers wait on this semaphore for readers to finish reading, or for readers to suspend themselves on the mailbox


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