Project

General

Profile

Bug #12570

common/Thread:pthread_attr_destroy(thread_attr) when done with it

Added by qiankun zheng over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/03/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
firefly, hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

when a thread attributes object is no longer required, it should be destroyed using the pthread_attr_destroy() function. Destroying a thread attributes object has no effect on threads that were created using that object. However,does not call pthread_attr_destroy() function to remove the initialization in the program.


Related issues

Copied to Ceph - Backport #13040: common/Thread:pthread_attr_destroy(thread_attr) when done with it Resolved
Copied to Ceph - Backport #13041: common/Thread:pthread_attr_destroy(thread_attr) when done with it Resolved 08/03/2015

Associated revisions

Revision 9471bb83 (diff)
Added by qiankun zheng over 3 years ago

Common/Thread: pthread_attr_destroy(thread_attr) when done with it
When a thread attributes object is no longer required, it should be destroyed using the
pthread_attr_destroy() function. Destroying a thread attributes object has no effect on threads that were created using that object.

Fixes: #12570
Signed-off-by: zqkqkz

Revision f1271eae (diff)
Added by qiankun zheng about 3 years ago

Common/Thread: pthread_attr_destroy(thread_attr) when done with it
When a thread attributes object is no longer required, it should be destroyed using the
pthread_attr_destroy() function. Destroying a thread attributes object has no effect on threads that were created using that object.

Fixes: #12570
Signed-off-by: zqkqkz
(cherry picked from commit 9471bb838a420ef5f439191d87e5388fecccb9e6)

Revision 81bb6dd7 (diff)
Added by qiankun zheng about 3 years ago

Common/Thread: pthread_attr_destroy(thread_attr) when done with it
When a thread attributes object is no longer required, it should be destroyed using the
pthread_attr_destroy() function. Destroying a thread attributes object has no effect on threads that were created using that object.

Fixes: #12570
Signed-off-by: zqkqkz
(cherry picked from commit 9471bb838a420ef5f439191d87e5388fecccb9e6)

History

#2 Updated by Kefu Chai over 3 years ago

  • Status changed from New to Need Review
  • Backport set to firefly, hammer

#3 Updated by Sage Weil about 3 years ago

  • Status changed from Need Review to Resolved

#4 Updated by Sage Weil about 3 years ago

  • Status changed from Resolved to Pending Backport

#5 Updated by Loic Dachary about 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF