*** empty log message ***

This commit is contained in:
glenux 2004-02-19 11:06:03 +00:00
parent 6f03de7d66
commit 45e9058a86
2 changed files with 10 additions and 8 deletions

View file

@ -12,32 +12,33 @@ typedef char * msgSpacePoolId;
typedef char * msgSpaceQueueDataId;
typedef char * msgSpaceQueueId;
/* pid[] */
/* liste des processus demandeurs */
typedef struct MsgPool {
msgSpacePoolId id;
int bufferNb;
int bufferSize;
/* pid[] */
int allocDispBuffer;
int allocOverload
/* liste des processus demandeurs */
int allocOverload;
} msgPool;
/* TODO: queueId */
typedef struct MsgSpace {
msgSpaceId id;
int poolNb;
int queueNb;
/* TODO: queueId */
int pid;
int pid;
msgSpacePoolDataId poolDataId;
} msgSpace;
/* struct msgSpaceListElem * next; */
typedef struct MsgSpaceListElem {
void * id;
int ownerPid;
/* struct msgSpaceListElem * next; */
msgSpaceListElemId next;
msgSpaceListElemId next;
} * msgSpaceList, msgSpaceListElem;

View file

@ -16,6 +16,7 @@ msgSpace * msgSpaceCreate(
msgSpaceId nzgId;
msgSpaceList mSList;
int mSFd; // shm file descriptor
int i;
static int mSIdNum=-1;
msgSpace * mSAddr;
@ -70,7 +71,7 @@ msgSpace * msgSpaceCreate(
for (i=0;i<poolNb;i++){
// creation d'une pool
mSAddr->
// mSAddr->
}