Table of Contents
qthread_migrate_to - relocate a qthread to the target shepherd
#include
<qthread.h>
int
qthread_migrate_to (qthread_shepherd_id_t shepherd);
This is
the function for moving a qthread to a different shepherd.
The first argument,
shepherd, is the identifier of the shepherd to move to.
When the call returns,
the qthread will be running on the specified shepherd.
On success,
0 is returned. On error, a non-zero error code is returned.
- QTHREAD_BADARGS
- Either the me value was invalid or the shepherd was too large.
qthread_fork_to(3)
Table of Contents