Mutex
in
Table of Contents
- create() : bool
- Attempt to obtain a mutex for the given event.
- exists() : bool
- Determine if a mutex exists for the given event.
- forget() : void
- Clear the mutex for the given event.
Methods
create()
Attempt to obtain a mutex for the given event.
public
create(Event $event) : bool
Parameters
- $event : Event
Return values
bool —exists()
Determine if a mutex exists for the given event.
public
exists(Event $event) : bool
Parameters
- $event : Event
Return values
bool —forget()
Clear the mutex for the given event.
public
forget(Event $event) : void
Parameters
- $event : Event