prime/include/RisLib/risContainers.h
//******************************************************************************
// This is executed after a put operation to advance the queue put index to
// point to the next element to put to. It uses a temp variable so that writing 
// to the index is atomic.

This is executed after a put operation to advance the queue put index to
point to the next element to put to. It uses a temp variable so that writing
to the index is atomic.
This is executed after a put operation to advance the queue put index to point to the next element to put to . It uses a temp variable so that writing to the index is atomic .
void nextPut ()
   {
      int tPutIndex = mPutIndex;
      if(++tPutIndex == mAllocate) tPutIndex = 0;
      mPutIndex = tPutIndex;
   }
void nextPut ( ) { int tPutIndex = mPutIndex ; if ( ++ tPutIndex == mAllocate ) tPutIndex = 0 ; mPutIndex = tPutIndex ; }
This is executed after a put operation to advance the queue put index to
point to the next element to put to.
This is executed after a put operation to advance the queue put index to point to the next element to put to .