Also remove dispatchers from wakeup when killing
This commit is contained in:
parent
50c75ed361
commit
1ec7d103a2
@ -33,6 +33,7 @@
|
|||||||
#include <arch/arm/platform.h>
|
#include <arch/arm/platform.h>
|
||||||
#include <arch/arm/syscall_arm.h>
|
#include <arch/arm/syscall_arm.h>
|
||||||
#include <serial.h>
|
#include <serial.h>
|
||||||
|
#include <wakeup.h>
|
||||||
|
|
||||||
// helper macros for invocation handler definitions
|
// helper macros for invocation handler definitions
|
||||||
#define INVOCATION_HANDLER(func) \
|
#define INVOCATION_HANDLER(func) \
|
||||||
@ -91,7 +92,9 @@ handle_dispatcher_stop(
|
|||||||
{
|
{
|
||||||
assert(argc == 2);
|
assert(argc == 2);
|
||||||
|
|
||||||
|
// TODO rueegges: kill using capability deletion once it is ready for last delete?
|
||||||
scheduler_remove(to->u.dispatcher.dcb);
|
scheduler_remove(to->u.dispatcher.dcb);
|
||||||
|
wakeup_remove(to->u.dispatcher.dcb);
|
||||||
|
|
||||||
return SYSRET(SYS_ERR_OK);
|
return SYSRET(SYS_ERR_OK);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user