## Semaphore::Release() method


Frigör lås på semafor.

```cpp
int System::Threading::Semaphore::Release()
```


### ReturnValue

Antalet lås precis innan [Release()](./) anropades.

## Se även

* Class [Semaphore](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Page for C++](../../../)
## Semaphore::Release(int) method


Frigör flera lås på semafor.

```cpp
int System::Threading::Semaphore::Release(int releaseCount)
```


| Parameter | Type | Beskrivning |
| --- | --- | --- |
| releaseCount | int | Antal lås att släppa. |

### ReturnValue

Antalet lås precis innan [Release()](./) anropades.

## Se även

* Class [Semaphore](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Page for C++](../../../)
