Main Page Class List Class Members

# Nv::Blast::ExtTaskSync Class Reference

`#include <NvBlastExtPxTaskImpl.h>`

List of all members.

## Public Member Functions
| ExtTaskSync (uint32_t count)
bool | isDone ()
void | notify ()
void | setCount (uint32_t count)
void | wait ()

## Detailed Description

Counting synchronization object for waiting on TkWorkers to finish.

## Constructor & Destructor Documentation

Nv::Blast::ExtTaskSync::ExtTaskSync | ( | uint32_t | count | ) | `[inline]`

Initializes with an expected number of notifications.

## Member Function Documentation

bool Nv::Blast::ExtTaskSync::isDone | ( |  | ) | `[inline]`

Peek if notifications are pending.

void Nv::Blast::ExtTaskSync::notify | ( |  | ) | `[inline]`

Decrement the wait() count by one.

void Nv::Blast::ExtTaskSync::setCount | ( | uint32_t | count | ) | `[inline]`

Sets the expected number of notifications for wait() to unblock.

void Nv::Blast::ExtTaskSync::wait | ( |  | ) | `[inline]`

Blocks until the expected number of notifications happened.

The documentation for this class was generated from the following file:

- sdk/extensions/physx/source/physics/NvBlastExtPxTaskImpl.h