aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-22 00:08:46 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-22 00:08:46 +0300
commit4168cca8124acdbd1866eb87810efe1cfe16903c (patch)
tree311b99d22ee32a47753036d6385b19201cb7727e /include
parent6e1ccf81948c356130a0a9bf02cf0027a47b7361 (diff)
downloadkmi-4168cca8124acdbd1866eb87810efe1cfe16903c.tar.gz
kmi-4168cca8124acdbd1866eb87810efe1cfe16903c.zip
add basic ipc-req test
Diffstat (limited to 'include')
-rw-r--r--include/kmi/tcb.h2
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.