*** empty log message ***
This commit is contained in:
parent
bb20a917b4
commit
0b53517f10
2 changed files with 8 additions and 6 deletions
|
@ -116,7 +116,7 @@ void * msgAllocate(msgSpace *space,
|
|||
/* on cherche le pool avec le moins de lock poses / nbre de buffer
|
||||
* le numéro du pool est stocké dans idxPoolOptimum */
|
||||
for(i=0; i<nbLockedSem; i++) {
|
||||
printf("Coef %d : %d\n",i,semPoolCoef[i]);
|
||||
printf("Coef %d : %d\n",i,(int)semPoolCoef[i]);
|
||||
if ((semPoolCoef[i] != -1)
|
||||
&& (semPoolCoef[i] < minPoolCoef)) {
|
||||
minPoolCoef = semPoolCoef[i];
|
||||
|
|
|
@ -54,15 +54,17 @@ typedef struct MsgSpace {
|
|||
} msgSpace;
|
||||
|
||||
|
||||
/* struct msgSpaceListElem * next; */
|
||||
|
||||
typedef struct MsgSpaceListElem {
|
||||
// void * id;
|
||||
int ownerPid;
|
||||
msgSpaceListId idList;
|
||||
msgSpaceListElemId idListElem;
|
||||
} * msgSpaceList, msgSpaceListElem;
|
||||
msgSpaceListElemId next;
|
||||
} msgSpaceListElem;
|
||||
|
||||
typedef struct MsgSpaceList {
|
||||
int elemCounter;
|
||||
msgSpaceListElemId first;
|
||||
msgSpaceListElemId last;
|
||||
} msgSpaceList,
|
||||
|
||||
#endif
|
||||
/* */
|
||||
|
|
Loading…
Reference in a new issue