int switch_tcluster(int cluster, int tid);
This syscall moves the thread identified by tid
to the thread cluster
identified by cluster
. No checks of parenthood are done.
It returns 0
on success and -1
on failure, with the following
errno:
EINVAL
cluster
is not a valid cluster, or tid
is not a valid tid.
EACCES
MAC did not allow this.