mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-11-04 02:09:05 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			387 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			387 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
PR_PostSemaphore
 | 
						|
================
 | 
						|
 | 
						|
Increments the value of a specified semaphore.
 | 
						|
 | 
						|
 | 
						|
Syntax
 | 
						|
------
 | 
						|
 | 
						|
.. code::
 | 
						|
 | 
						|
   #include <pripcsem.h>
 | 
						|
 | 
						|
   NSPR_API(PRStatus) PR_PostSemaphore(PRSem *sem);
 | 
						|
 | 
						|
 | 
						|
Parameter
 | 
						|
~~~~~~~~~
 | 
						|
 | 
						|
The function has the following parameter:
 | 
						|
 | 
						|
``sem``
 | 
						|
   A pointer to a ``PRSem`` structure returned from a call to
 | 
						|
   :ref:`PR_OpenSemaphore`.
 | 
						|
 | 
						|
 | 
						|
Returns
 | 
						|
~~~~~~~
 | 
						|
 | 
						|
:ref:`PRStatus`
 |