rpc kill(in cap domain_cap, out errval err);
// Let the process manager know the caller has finished execution.
- //message exit(cap domain_cap, uint8 status);
- rpc exit(in cap domain_cap, in uint8 status);
+ message exit(cap domain_cap, uint8 status);
+ //rpc exit(in cap domain_cap, in uint8 status);
rpc wait(in cap domain_cap, out errval err, out uint8 status);
-
- // TODO(razvan): exit, wait, status, some other calls from spawn.if?
};
struct proc_mgmt_binding *b = get_proc_mgmt_binding();
assert(b != NULL);
- err = b->rpc_tx_vtbl.exit(b, cap_domainid, status);
+ err = b->tx_vtbl.exit(b, NOP_CONT, cap_domainid, status);
if (err_is_fail(err)) {
return err;
}
#define PROC_MGMT_BENCH 1
-#define PROC_MGMT_BENCH_MIN_RUNS 100
+#define PROC_MGMT_BENCH_MIN_RUNS 150
#ifdef PROC_MGMT_BENCH
#include <bench/bench.h>
.spawn_with_caps_call = spawn_with_caps_handler,
.span_call = span_handler,
.kill_call = kill_handler,
- .exit_call = exit_handler,
+ // .exit_call = exit_handler,
+ .exit = exit_handler,
.wait_call = wait_handler
};
.spawn_with_caps_call = spawn_with_caps_handler,
.span_call = span_handler,
.kill_call = kill_handler,
- .exit_call = exit_handler,
+ // .exit_call = exit_handler,
+ .exit = exit_handler,
.wait_call = wait_handler
};