Add send_signal_etc() to kernel functions userland support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3268 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <signal.h>
|
||||||
|
|
||||||
#include <drivers/KernelExport.h>
|
#include <drivers/KernelExport.h>
|
||||||
#include <drivers/module.h>
|
#include <drivers/module.h>
|
||||||
@@ -400,6 +401,14 @@ _EXPORT thread_id spawn_kernel_thread(thread_entry func, const char *name, long
|
|||||||
return spawn_thread(func, name, priority, arg);
|
return spawn_thread(func, name, priority, arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_EXPORT int send_signal_etc(pid_t thid, uint sig, uint32 flags)
|
||||||
|
{
|
||||||
|
return send_signal(thid, sig);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user