Skip to content

Commit e488fce

Browse files
comment about no-op
1 parent 8f7ebfc commit e488fce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc/src/pthread/pthread_condattr_destroy.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
namespace LIBC_NAMESPACE {
1616

1717
LLVM_LIBC_FUNCTION(int, pthread_condattr_destroy, (pthread_condattr_t * attr)) {
18+
// Initializing a pthread_condattr_t acquires no resources, so this is a
19+
// no-op.
1820
return 0;
1921
}
2022

0 commit comments

Comments
 (0)