diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-11-01 10:12:02 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-11-01 10:28:16 +0200 |
| commit | 8100eef0826e7fb182434979a9b139716b3637e1 (patch) | |
| tree | 991324108d849a9bc825528fbba38fb4a887cd11 /src | |
| parent | 9914b44878ca52cc615d2f4e47fec400dd55ab76 (diff) | |
| download | kmi-8100eef0826e7fb182434979a9b139716b3637e1.tar.gz kmi-8100eef0826e7fb182434979a9b139716b3637e1.zip | |
speed up creating threads quite a bit
Diffstat (limited to 'src')
| -rw-r--r-- | src/tcb.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -113,7 +113,6 @@ static stat_t __init_free_thread(struct tcb *t) } if (setup_rpc_stack(t)) { - destroy_rpc_stack(t); destroy_rpcmem(t->rpc.vmem); destroy_vmem(t->proc.vmem); return ERR_OOMEM; @@ -147,7 +146,6 @@ static stat_t __init_owned_thread(struct tcb *p, struct tcb *t) return NULL; if (setup_rpc_stack(t)) { - destroy_rpc_stack(t); destroy_rpcmem(t->rpc.vmem); return ERR_OOMEM; } |
