E:/Projects/AvrLib/kernel/MessageQueue.c File Reference

#include "stdio.h"
#include "stdlib.h"
#include "task.h"
#include "MessageQueue.h"

Include dependency graph for MessageQueue.c:

Go to the source code of this file.

Functions

MESSAGE_QUEUEMqInit (int size, char *name)
void MqPut (MESSAGE_QUEUE *mq, MSG *m)
MSGMqGet (MESSAGE_QUEUE *mq)
MSGNewMSG (int payloadSize)
void DeleteMSG (MSG *m)
void InitMessageQueueManager (void)

Variables

static ECBMqBlocker
int MsgAllocCount = 0


Function Documentation

void DeleteMSG ( MSG m  ) 

Definition at line 81 of file MessageQueue.c.

References free.

Referenced by MMCTask().

void InitMessageQueueManager ( void   ) 

Definition at line 89 of file MessageQueue.c.

References NewSemaphore(), and SEMAPHORE_MODE_BLOCKING.

MSG* MqGet ( MESSAGE_QUEUE mq  ) 

MESSAGE_QUEUE* MqInit ( int  size,
char *  name 
)

void MqPut ( MESSAGE_QUEUE mq,
MSG m 
)

MSG* NewMSG ( int  payloadSize  ) 


Variable Documentation

ECB* MqBlocker [static]

Definition at line 12 of file MessageQueue.c.

int MsgAllocCount = 0

Definition at line 13 of file MessageQueue.c.

Referenced by NewMSG().


Generated on Sun Aug 31 13:30:59 2008 for FrankenRTOS by  doxygen 1.5.6