This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
CLEAR SEMAPHORE

CLEAR SEMAPHORE 


 

CLEAR SEMAPHORE ( semaphore ) 
Parameter Type   Description
semaphore  String in Semaphore to clear

CLEAR SEMAPHORE erases semaphore previously set by the Semaphore function.

As a rule, all semaphores that have been created should be cleared. If semaphores are not cleared, they remain in memory until the process that creates them ends. A process can only clear semaphores that it has created. If you try to clear a semaphore from within a process that did not create it, nothing happens.

Example  

See the example for Semaphore.



See also 

Semaphore
Semaphores and signals
Test semaphore

 
PROPERTIES 

Product: 4D
Theme: Process (Communications)
Number: 144

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: < 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)