sp.masterThread = this;
sp.parentSplitPoint = activeSplitPoint;
- sp.spLevel = activeSplitPoint ? activeSplitPoint->spLevel + 1 : 0;
sp.slavesMask = 0, sp.slavesMask.set(idx);
sp.slavesCount = 1;
sp.depth = depth;
Thread* slave;
- while ( sp.slavesCount < MAX_SLAVES_PER_SPLITPOINT
+ while ( sp.slavesCount < MAX_SLAVES_PER_SPLITPOINT
&& (slave = Threads.available_slave(this)) != NULL)
{
sp.slavesMask.set(slave->idx);