$sem_id
$sem_id : resource
Semaphore identifier returned by sem_get()
Class MLA (Media Library Assistant) Mutex provides a simple "mutual exclusion" semaphore for the [mla_gallery] mla_viewer=single option
Adapted from the example by mr.smaon@gmail.com in the PHP Manual "Semaphore Functions" page.