* Reset the ::ThreadProgress.progress counter; must only be called * if the ThreadProgress is not in use in any way (e.g. no thread * may wait on it via ff_thread_progress_await()). */
| 70 | * may wait on it via ff_thread_progress_await()). |
| 71 | */ |
| 72 | static inline void ff_thread_progress_reset(ThreadProgress *pro) |
| 73 | { |
| 74 | atomic_init(&pro->progress, pro->init ? -1 : INT_MAX); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * This function is a no-op in no-op mode; otherwise it notifies |
no outgoing calls
no test coverage detected