diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/kmi/tcb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kmi/tcb.h b/include/kmi/tcb.h index 4214cb0..a3f119b 100644 --- a/include/kmi/tcb.h +++ b/include/kmi/tcb.h @@ -36,7 +36,7 @@ struct tcb; * @param t Thread to check. * @return \c true if thread is in RPC, \c false otherwise. */ -#define is_rpc(t) (t->rid != t->pid) +#define is_rpc(t) (!rpc_stack_empty(t->rpc_stack)) /** * Get the effective process thread of current thread. |
