kernel: Introduce THREAD_BLOCK_TYPE_OTHER_OBJECT.

THREAD_BLOCK_TYPE_OTHER implies the "object" pointer in the
wait information is a string. But sometimes we want to pass
through objects which are not strings, for inspection in KDL.
This commit is contained in:
Augustin Cavalier
2023-04-26 15:33:53 -04:00
parent f5e531e92e
commit 557f0446b3
9 changed files with 20 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@ enum {
THREAD_BLOCK_TYPE_RW_LOCK = 5,
THREAD_BLOCK_TYPE_USER = 6,
THREAD_BLOCK_TYPE_OTHER_OBJECT = 9998,
THREAD_BLOCK_TYPE_OTHER = 9999,
};