| 4D v14.3CLEAR SEMAPHORE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D v14.3
 CLEAR SEMAPHORE 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CLEAR SEMAPHORE ( semaphore ) | ||||||||
| Parameter | Type | Description | ||||||
| semaphore | String |   | 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.
See the example for Semaphore.
	Product:  4D
	Theme:  Process (Communications)
	Number:  
        144
        
        
        
	
	Created:  < 4D v6
	4D Language Reference ( 4D v12.4)
	4D Language Reference ( 4D v11 SQL Release 6)
	4D Language Reference ( 4D v14 R3)
	4D Language Reference ( 4D v14 R2)
	4D Language Reference ( 4D v13.5)
	4D Language Reference ( 4D v14.3)
	4D Language Reference ( 4D v14 R4)