diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-04-09 18:16:07 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-06-15 17:57:36 +0200 |
commit | 4521c1e7ae5371ab9d639adc617d17fb4e8ded0c (patch) | |
tree | a8a1416a2d58c16ab3993c7e4dc405fc71daab6a /src/jobs-fake.c | |
parent | 63682b4da9d3e892d1d0a671de860adc43068142 (diff) |
api-v3: First draft
This commit introduces the bindings v3 API for bindings.
The documentation has still to be improved and will come
very soon.
Change-Id: I8f9007370e29f671fdfd1da87fff7372a17db7af
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/jobs-fake.c')
-rw-r--r-- | src/jobs-fake.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jobs-fake.c b/src/jobs-fake.c index d3444e32..d3cd19e1 100644 --- a/src/jobs-fake.c +++ b/src/jobs-fake.c @@ -71,7 +71,7 @@ static int add_job(const void *group, int timeout, void (*callback)(int signum, else first = j; last = j; - pthread_mutex_unlock(&mutex); + pthread_mutex_unlock(&mutex); return 0; } @@ -83,7 +83,7 @@ static void *thrrun(void *arg) j = first; if (j) first = j->next; - pthread_mutex_unlock(&mutex); + pthread_mutex_unlock(&mutex); if (j) { j->callback(0, j->closure); free(j); |