synchronized( SemaphoreImpl.class ){ sem = new AESemaphore("Plugin " + pi.getPluginID() + ":" + next_sem_id++ ); }
sem.release();
sem.releaseAllWaiters();
sem.reserve();
return( sem.reserve( timeout_millis ));
return( sem.reserveIfAvailable());