#include <bayonne.h>
Inheritance diagram for ost::BayonneMsgport:

Public Member Functions | |
| virtual | ~BayonneMsgport () |
| Destroy a msgport. | |
| BayonneMsgport (BayonneDriver *driver) | |
| Create a message port and optionally bind it to a given driver. | |
| void | update (void) |
| Request retiming. | |
| void | initial (void) |
| Initialize msgport, determine which sessions it will perform timing for based on the driver it is bound to. | |
Protected Member Functions | |
| void | shutdown (void) |
| Send shutdown event to the msgport. | |
| virtual timeout_t | getTimeout (Event *event) |
| Determine sleep time to schedule for waiting, unless an update occurs to force rescheduling. | |
| void | run (void) |
| size_t | onWait (void *buf) |
| size_t | onPost (void *buf) |
| size_t | onPeek (void *buf) |
Protected Attributes | |
| BayonneDriver * | msgdriver |
| Event * | msglist |
| unsigned | msgsize |
| unsigned | msghead |
| unsigned | msgtail |
| timeslot_t | tsfirst |
| timeslot_t | tscount |
| char | msgname [16] |
This can happen for a thread termination event, for example, since the thread terminating must be joined from another thread. Some drivers use session specific msgports to process all channel events.
|
|
Destroy a msgport.
|
|
|
Create a message port and optionally bind it to a given driver.
|
|
|
Determine sleep time to schedule for waiting, unless an update occurs to force rescheduling.
|
|
|
Initialize msgport, determine which sessions it will perform timing for based on the driver it is bound to.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Send shutdown event to the msgport.
|
|
|
Request retiming. This is used for msgports that are per session to get the session to be retimed after an event has been directly posted outside the msgport. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6