diff options
| author | Andreas Fankhauser hiddenalpha.ch | 2026-01-02 13:39:24 +0100 |
|---|---|---|
| committer | Andreas Fankhauser hiddenalpha.ch | 2026-01-02 13:39:43 +0100 |
| commit | f6634e99211db37f5af54c1151a4b7792b8dfb9a (patch) | |
| tree | d40d9cafca42423ac238a885f06931f08888fe26 /include/qntan | |
| parent | 994939ab62c28bb0e7c180b4fff085bdf9d00256 (diff) | |
| download | Qntan-f6634e99211db37f5af54c1151a4b7792b8dfb9a.tar.gz Qntan-f6634e99211db37f5af54c1151a4b7792b8dfb9a.zip | |
Add error reporting in Cond signal/bcast API.
Diffstat (limited to 'include/qntan')
| -rw-r--r-- | include/qntan/Qntan.h | 4 |
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()`. */ }; |
