From f6634e99211db37f5af54c1151a4b7792b8dfb9a Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser hiddenalpha.ch Date: Fri, 2 Jan 2026 13:39:24 +0100 Subject: Add error reporting in Cond signal/bcast API. --- include/qntan/Qntan.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/qntan/Qntan.h') diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h index 27d36df..075c7f9 100644 --- a/include/qntan/Qntan.h +++ b/include/qntan/Qntan.h @@ -826,10 +826,10 @@ struct Qntan_Cond { * `tv_sec` and `tv_nsec` have the same idea as in `struct timespec`. * on timeout, `onDone` will be called with `-ETIMEDOUT` (yep, negated). */ - void (*bcast)( struct Qntan_Cond** ); + int (*bcast)( struct Qntan_Cond** ); /* Same idea as `pthread_cond_broadcast()`. */ - void (*signal)( struct Qntan_Cond** ); + int (*signal)( struct Qntan_Cond** ); /* Same idea as `pthread_cond_signal()`. */ }; -- cgit v1.3.1