Get the current value of an item being monitored
#include <pthread.h> uint64_t procmgr_value_current( int id );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The procmgr_value_current() function returns the current value of the item being monitored by the notification with the given ID.
The value of the monitored item, or ~(uint64_t)0 if an error occurred (errno is set).
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |