Skip to content
Commit 80e3f4ae authored by Christopher Friedt's avatar Christopher Friedt Committed by Chris Friedt
Browse files

tests: posix: common: rwlock: remove overspecified pthread_attr_t



Much of tests/posix/common still overspecifies pthread_attr_t
options.

Default thread attributes are perfectly fine for the vast
majority of spawned threads in this testsuite, so simply use
a NULL pthread_attr_t* argument.

This fixes piles of bugs because we have not properly used
pthread_attr_destroy() appropriately.

Signed-off-by: default avatarChristopher Friedt <cfriedt@meta.com>
parent e14f3625
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment