implemented proper refcounting using atomic operations
This commit is contained in:
@@ -227,6 +227,9 @@ struct policy_t {
|
||||
*
|
||||
* Get a new reference to this policy by increasing
|
||||
* it's internal reference counter.
|
||||
* Do not call get_ref or any other function until you
|
||||
* already have a reference. Otherwise the object may get
|
||||
* destroyed while calling get_ref(),
|
||||
*
|
||||
* @param this calling object
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user