[commit] master: don't hang if store cannot be opened asynchronously
mailbox synchronizer
Brought to you by:
ossi
From: Oswald B. <os...@us...> - 2011-03-27 10:03:38
|
commit 3426100b1e943a9cb995197557eb12cb4072cd94 Author: Oswald Buddenhagen <os...@kd...> Date: Sun Dec 19 23:33:29 2010 +0100 don't hang if store cannot be opened asynchronously src/main.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main.c b/src/main.c index 107c2e8..4776fc7 100644 --- a/src/main.c +++ b/src/main.c @@ -678,8 +678,9 @@ store_opened( store_t *ctx, void *aux ) MVARS(aux) if (!ctx) { - mvars->state[t] = ST_CLOSED; mvars->ret = mvars->skip = 1; + mvars->state[t] = ST_CLOSED; + sync_chans( mvars, E_OPEN ); return; } mvars->ctx[t] = ctx; |