Push data object into the to be processed queue. This is done by the object originator thread. Returns: None

Return TypeFunction nameArguments
voidhzDiode::Push(void*,)

Declared in file: hzLock.h
Defined in file : hzProcess.cpp

Function Logic:

0:START 1:unknown 2:pB 3:pB 4:unknown 5:pB m_pLast m_pLast 6:pB items 7:unknown 8:m_pLast 9:m_pFirst 10: No text

Function body:

void hzDiode::Push (void* pObj)
{
   //  Push data object into the to be processed queue. This is done by the object originator thread.
   //  
   //  Arguments: 1) pObj Object to be handled by the next stage thread
   //  Returns: None
   _bkt*   pB ;    //  Diode bucket pointer
   if (!m_pLast)
       pB = _alloc() ;
   else
       pB = m_pLast ;
   if (pB->usage == 30)
   {
       pB = _alloc() ;
       m_pLast->next = pB ;
       m_pLast = pB ;
   }
   pB->items[pB->usage] = pObj ;
   pB->usage++ ;
   if (!m_pLast)
       m_pFirst = m_pLast = pB ;
}