| Package | Description |
|---|---|
| com.almasb.fxgl.ai.utils |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleNonBlockingSemaphore
A non-blocking semaphore that does not ensure the atomicity of its operations, meaning that it's not tread-safe.
|
| Modifier and Type | Method and Description |
|---|---|
static NonBlockingSemaphore |
NonBlockingSemaphoreRepository.addSemaphore(String name,
int maxResources) |
NonBlockingSemaphore |
SimpleNonBlockingSemaphore.Factory.createSemaphore(String name,
int maxResources) |
NonBlockingSemaphore |
NonBlockingSemaphore.Factory.createSemaphore(String name,
int maxResources)
Creates a semaphore with the specified name and resources.
|
static NonBlockingSemaphore |
NonBlockingSemaphoreRepository.getSemaphore(String name) |
static NonBlockingSemaphore |
NonBlockingSemaphoreRepository.removeSemaphore(String name) |
Copyright © 2017. All rights reserved.