}
command bool Pool.empty() {
+ dbg("PoolP", "%s size is %i\n", __FUNCTION__, (int)free);
return free == 0;
}
command uint8_t Pool.size() {
+ dbg("PoolP", "%s size is %i\n", __FUNCTION__, (int)free);
return free;
}
if (index == size) {
index = 0;
}
+ dbg("PoolP", "%s size is %i\n", __FUNCTION__, (int)free);
return rval;
}
return NULL;
}
queue[emptyIndex] = newVal;
free++;
+ dbg("PoolP", "%s size is %i\n", __FUNCTION__, (int)free);
return SUCCESS;
}
}