Przemek

Here is a curosity:

if ( hb_threadMutexLock( s_pMtx ) )
{
   ...
   ...
   hb_threadMutexUnlock( s_pMtx );
}

Does this function waits for the lock until 
obtained or returns immediately?

If it waits until lock is obtained, then why we should
use 'if' statement?

Regards
Pritpal Bedi
-- 
View this message in context: 
http://www.nabble.com/if-%28-hb_threadMutexLock%28-s_pMtx-%29-%29---Clarification-tp20195976p20195976.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to