My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Attributes | List of all members
local_msu Struct Reference

The structure that represents an MSU located on the local machine. More...

#include <local_msu.h>

Public Attributes

struct msu_typetype
 Pointer to struct containing information shared across all instances of this type of MSU. More...
 
struct route_set routes
 Routing table set, containing all destination MSUs (see routing.h for details) More...
 
unsigned int id
 Unique ID for a local MSU. More...
 
unsigned int scheduling_weight
 The number of items that should be dequeued on this MSU each tick. More...
 
struct msg_queue queue
 Input queue to MSU. More...
 
struct msu_stateitem_state
 Keyed state structure, accessible through queue item IDs. More...
 
void * msu_state
 State related to the entire instance of the MSU, not just individual items. More...
 
struct worker_threadthread
 The worker thread on which this MSU is placed. More...
 

Detailed Description

The structure that represents an MSU located on the local machine.

Definition at line 38 of file local_msu.h.

Member Data Documentation

unsigned int local_msu::id

Unique ID for a local MSU.

Definition at line 54 of file local_msu.h.

struct msu_state* local_msu::item_state

Keyed state structure, accessible through queue item IDs.

Definition at line 63 of file local_msu.h.

void* local_msu::msu_state

State related to the entire instance of the MSU, not just individual items.

Definition at line 66 of file local_msu.h.

struct msg_queue local_msu::queue

Input queue to MSU.

Definition at line 60 of file local_msu.h.

struct route_set local_msu::routes

Routing table set, containing all destination MSUs (see routing.h for details)

Definition at line 51 of file local_msu.h.

unsigned int local_msu::scheduling_weight

The number of items that should be dequeued on this MSU each tick.

Definition at line 57 of file local_msu.h.

struct worker_thread* local_msu::thread

The worker thread on which this MSU is placed.

Definition at line 69 of file local_msu.h.

struct msu_type* local_msu::type

Pointer to struct containing information shared across all instances of this type of MSU.

Includes type-specific MSU functions

Definition at line 45 of file local_msu.h.


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