Commit 354e0eb9 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

lib/thread: move evl_detach_self() out of line



Refrain from inlining core services, so that interposing on them via
dynamic linking tricks is made easier.
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent 04db253a
......@@ -36,10 +36,7 @@ int evl_attach_thread(int flags, const char *fmt, ...);
int evl_detach_thread(int flags);
static inline int evl_detach_self(void)
{
return evl_detach_thread(0);
}
int evl_detach_self(void);
int evl_get_self(void);
......
......@@ -164,6 +164,11 @@ int evl_detach_thread(int flags)
return 0;
}
int evl_detach_self(void)
{
return evl_detach_thread(0);
}
int evl_get_self(void)
{
return evl_efd;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment