summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2026-01-02 13:39:24 +0100
committerAndreas Fankhauser hiddenalpha.ch2026-01-02 13:39:43 +0100
commitf6634e99211db37f5af54c1151a4b7792b8dfb9a (patch)
treed40d9cafca42423ac238a885f06931f08888fe26
parent994939ab62c28bb0e7c180b4fff085bdf9d00256 (diff)
downloadQntan-f6634e99211db37f5af54c1151a4b7792b8dfb9a.tar.gz
Qntan-f6634e99211db37f5af54c1151a4b7792b8dfb9a.zip
Add error reporting in Cond signal/bcast API.
-rw-r--r--include/qntan/Qntan.h4
1 files changed, 2 insertions, 2 deletions
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()`.
*/
};