DynamicTextTestAndSetLock (FUN)

FUNCTION DynamicTextTestAndSetLock : BOOL

Function to support the access to the dynamic text lock (semaphore) and set it if possible. The calling task therefore has the option of not blocking if the lock is already occupied. The operation is atomic, which means that it cannot be interrupted by another task. This also applies to multicore platforms. The result is true if the lock has been received. If the result is true, there must be a corresponding call to this function for each call to DynamicTextReleaseLock!

InOut:

Scope

Name

Type

Return

DynamicTextTestAndSetLock

BOOL