bool QDispatchSemaphore::tryAcquire(const QTime& t){
    return try_acquire(QDispatch::asDispatchTime(t));
}
bool QDispatchSemaphore::tryAcquire(dispatch_time_t t){
    return try_acquire(t);
}
bool QDispatchSemaphore::tryAcquire(struct tm* t){
    return try_acquire(t);
}
Ejemplo n.º 4
0
bool semaphore::try_acquire(
    struct tm *time
)
{
    return try_acquire( as_dispatch_time( time ) );
}