diff options
Diffstat (limited to 'runtime/apc.c')
-rw-r--r-- | runtime/apc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/apc.c b/runtime/apc.c index b0b5f298..1bcaee39 100644 --- a/runtime/apc.c +++ b/runtime/apc.c @@ -332,9 +332,11 @@ CancelApc(apc_id_t id) { DEFVARS_mutexProtection_uncond; + BEGINfunc BEGIN_MTX_PROTECTED_OPERATIONS_UNCOND(&listMutex); deleteApc(id); END_MTX_PROTECTED_OPERATIONS_UNCOND(&listMutex); + ENDfunc return RS_RET_OK; } |