4D v14.3Test semaphore |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
Test semaphore
Test semaphore
The Test semaphore command tests for the existence of a semaphore. The difference between the Semaphore function and the Test semaphore function is that Test semaphore doesn’t create the semaphore if it doesn’t exist. If the semaphore exists, the function returns True. Otherwise, it returns False. The following example allows you to know the state of a process (in our case, while modifying the code) without modifying semaphore: $Win:=Open window(x1;x2;y1;y2;-Palette window) |
PROPERTIES
Product: 4D
HISTORY
Created: 4D v6.5 SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||