Overview
| Comment: | OFCondition: Improve documentation |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | 0.8 |
| Files: | files | file ages | folders |
| SHA3-256: |
3c17e20808b3e63871ee9733fe077dde |
| User & Date: | js on 2016-04-18 17:28:45 |
| Other Links: | branch diff | manifest | tags |
Context
|
2016-04-24
| ||
| 11:39 | Makefile: Revert back to packaging as .tar.gz (check-in: ed08007e97 user: js tags: 0.8) | |
|
2016-04-18
| ||
| 17:28 | OFCondition: Improve documentation (check-in: 3c17e20808 user: js tags: 0.8) | |
| 17:22 | OFRunLoop: Small clean up (check-in: 7d387ea44c user: js tags: 0.8) | |
Changes
Modified src/OFCondition.h from [aee4a4a25d] to [1df8cb1e92].
| ︙ | |||
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | + + + + + + + + + | * @return A new, autoreleased OFCondition */ + (instancetype)condition; /*! * @brief Blocks the current thread until another thread calls @ref signal or * @ref broadcast. * * @note Waiting might have been interrupted by a signal. It is thus recommended * to check the condition again after @ref wait returned! */ - (void)wait; /*! * @brief Blocks the current thread until another thread calls @ref signal, * @ref broadcast or the timeout is reached. * * @note Waiting might have been interrupted by a signal. It is thus recommended * to check the condition again after @ref waitForTimeInterval: returned! * * @param timeInterval The time interval until the timeout is reached * @return Whether the condition has been signaled */ - (bool)waitForTimeInterval: (of_time_interval_t)timeInterval; /*! * @brief Blocks the current thread until another thread calls @ref signal, * @ref broadcast or the timeout is reached. * * @note Waiting might have been interrupted by a signal. It is thus recommended * to check the condition again after @ref waitUntilDate: returned! * * @param date The date at which the timeout is reached * @return Whether the condition has been signaled */ - (bool)waitUntilDate: (OFDate*)date; /*! |
| ︙ |