procmgr_value_current()

Get the current value of an item being monitored

Synopsis:

#include <pthread.h>

uint64_t procmgr_value_current( int id );

Since:

BlackBerry 10.0.0

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Arguments:

id
The ID of a notification added with procmgr_value_notify_add().

Description:

The procmgr_value_current() function returns the current value of the item being monitored by the notification with the given ID.

Returns:

The value of the monitored item, or ~(uint64_t)0 if an error occurred ( errno is set).

Classification:

QNX Neutrino

Safety:  
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus