From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqsemaphore.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/tqsemaphore.html') diff --git a/doc/html/tqsemaphore.html b/doc/html/tqsemaphore.html index e1368d500..da3a57934 100644 --- a/doc/html/tqsemaphore.html +++ b/doc/html/tqsemaphore.html @@ -131,8 +131,8 @@ Returns the total number of accesses to the semaphore.

bool TQSemaphore::tryAccess ( int n )

Try to get access to the semaphore. If available() < n, this -function will return FALSE immediately. If available() >= n, -this function will take n accesses and return TRUE. This +function will return false immediately. If available() >= n, +this function will take n accesses and return true. This function does not block. -- cgit v1.2.3