int nopoll_ctx_ref_count ( noPollCtx ctx)

Allows to get current reference counting for the provided context.

Parameters
ctxThe context the reference counting is being requested.
Returns
The reference counting or -1 if it fails.

References nopoll_mutex_lock(), and nopoll_mutex_unlock().