5 namespace honey {
namespace platform
11 typedef pthread_mutex_t Handle;
20 Handle& handle() {
return _handle; }
void lock(Locks &&...locks)
Lock all lockables safely without deadlocking.
Definition: Util.h:110
Global Honeycomb namespace.
int tryLock(Lock &l, Locks &...ls)
Try to lock all lockables. Locks either all or none.
Definition: Util.h:26