logiranje lock_semaphore