about summary refs log tree commit diff stats
path: root/kernel.soso/message.h
blob: 84e7c6706de32f2ddefc2d3245f2029edb2d823e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MESSAGE_H
#define MESSAGE_H

#include "common.h"
#include "commonuser.h"

typedef struct Thread Thread;

void sendMesage(Thread* thread, SosoMessage* message);

uint32 getMessageQueueCount(Thread* thread);

//returns remaining message count
int32 getNextMessage(Thread* thread, SosoMessage* message);

#endif // MESSAGE_H