-
Notifications
You must be signed in to change notification settings - Fork 700
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librdmacm/cmtime: Use atomic for 'use_qpn' and 'disc_events'
Once multi-thread support is added to cmtime, the use_qpn and disc_events variables will be access by multiple threads. Use an atomic variable instead of volatiles. Signed-off-by: Sean Hefty <shefty@nvidia.com>
- Loading branch information
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters