*** 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
|
/* on cherche le pool avec le moins de lock poses / nbre de buffer
|
||||||
* le numéro du pool est stocké dans idxPoolOptimum */
|
* le numéro du pool est stocké dans idxPoolOptimum */
|
||||||
for(i=0; i<nbLockedSem; i++) {
|
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)
|
if ((semPoolCoef[i] != -1)
|
||||||
&& (semPoolCoef[i] < minPoolCoef)) {
|
&& (semPoolCoef[i] < minPoolCoef)) {
|
||||||
minPoolCoef = semPoolCoef[i];
|
minPoolCoef = semPoolCoef[i];
|
||||||
|
|
|
@ -54,15 +54,17 @@ typedef struct MsgSpace {
|
||||||
} msgSpace;
|
} msgSpace;
|
||||||
|
|
||||||
|
|
||||||
/* struct msgSpaceListElem * next; */
|
|
||||||
|
|
||||||
typedef struct MsgSpaceListElem {
|
typedef struct MsgSpaceListElem {
|
||||||
// void * id;
|
// void * id;
|
||||||
int ownerPid;
|
int ownerPid;
|
||||||
msgSpaceListId idList;
|
msgSpaceListElemId next;
|
||||||
msgSpaceListElemId idListElem;
|
} msgSpaceListElem;
|
||||||
} * msgSpaceList, msgSpaceListElem;
|
|
||||||
|
|
||||||
|
typedef struct MsgSpaceList {
|
||||||
|
int elemCounter;
|
||||||
|
msgSpaceListElemId first;
|
||||||
|
msgSpaceListElemId last;
|
||||||
|
} msgSpaceList,
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/* */
|
/* */
|
||||||
|
|
Loading…
Reference in a new issue