Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/procmgr_event_trigger.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/procmgr_event_trigger.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/procmgr_event_trigger.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/procmgr_event_trigger.html on line 8
Trigger a system-wide event
#include <sys/procmgr.h>
int procmgr_event_trigger( unsigned flags );
- flags
- A bitwise OR of the types of event that you want to trigger:
- PROCMGR_EVENT_CONFSTR
- PROCMGR_EVENT_DAEMON_DEATH
- PROCMGR_EVENT_PATHSPACE
- PROCMGR_EVENT_SYNC
- PROCMGR_EVENT_SYSCONF
For more information, see
“Event types”
in the entry for
procmgr_event_notify().
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
The function procmgr_event_trigger() triggers
a system-wide event. The event is sent to all processes
that requested (via
procmgr_event_notify())
to be notified of the event identified by flags.
-1 on error; any other value indicates success.
#include <sys/procmgr.h>
int main ( void )
{
procmgr_event_trigger( PROCMGR_EVENT_SYNC );
}
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
procmgr_event_notify(),
sync()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/procmgr_event_trigger.html on line 140
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/procmgr_event_trigger.html on line 140