Synchronize Producers g_semWriteLock [...] Synchronize the Consumer g_semReadLock [...] _xReaderActive THEN Consume := g_semWriteLock
to implement locking mechanisms (locking) used [...] locking of the objects