Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librdmacm/cmtime: Force use of multiple threads in work queue
When multiple work items are added to the work queue, it's possible that only a single thread is signaled to process the work. The result is that the other threads continue to wait on the condition. Since the test inserts work using a loop, this occurs frequently, and the behavior appears as a singled thread app, even if multiple threads were requested. After removing a work item, if other work items remain, signal the condition to wake up another thread. Signed-off-by: Sean Hefty <[email protected]>
- Loading branch information