gogoc-messaging/src/ipcserver.cc
bool IPCServer::WaitReady( unsigned long ulWaitms )
{
  bool bRetVal;

  if( bRetVal = (m_pSemReadyState->WaitAndLock( ulWaitms ) == 0) )
    m_pSemReadyState->ReleaseLock();

  return bRetVal;
}
// --------------------------------------------------------------------------
// Function : WaitReady
//
// Description:
//   Will wait until the m_pSemReadyState semaphore is released.
//   The semaphore is released when the server has created the connection
//   point and is ready to accept incomming connection(s).
//
// Arguments:
//   ulWaitms: unsigned long [IN], The timeout for the wait operation.
//             If 0, the timeout is INFINITE.
//
// Return values:
//   Returns true if the semaphore is released before the specified timeout.
//
// --------------------------------------------------------------------------
Function : WaitReady
Description:
Will wait until the m_pSemReadyState semaphore is released.
The semaphore is released when the server has created the connection
point and is ready to accept incomming connection(s).

unsigned long [IN], The timeout for the wait operation.
If 0, the timeout is INFINITE.

Return values:
Returns true if the semaphore is released before the specified timeout.
Function : WaitReady Description : Will wait until the m_pSemReadyState semaphore is released . The semaphore is released when the server has created the connection point and is ready to accept incomming connection ( s ) . unsigned long [ IN ] The timeout for the wait operation . If 0 the timeout is INFINITE . Return values : Returns true if the semaphore is released before the specified timeout .
bool IPCServer::WaitReady( unsigned long ulWaitms )
{
  bool bRetVal;
  if( bRetVal = (m_pSemReadyState->WaitAndLock( ulWaitms ) == 0) )
    m_pSemReadyState->ReleaseLock();
  return bRetVal;
}
bool IPCServer :: WaitReady ( unsigned long ulWaitms ) { bool bRetVal ; if ( bRetVal = ( m_pSemReadyState -> WaitAndLock ( ulWaitms ) == 0 ) ) m_pSemReadyState -> ReleaseLock ( ) ; return bRetVal ; }
Function : WaitReady
Description:
Will wait until the m_pSemReadyState semaphore is released.
Function : WaitReady Description : Will wait until the m_pSemReadyState semaphore is released .