summaryrefslogtreecommitdiffstats
path: root/include/c11/threads.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-04-24 16:14:04 +0100
committerEmil Velikov <[email protected]>2016-05-23 12:07:45 +0100
commit6ce11e7e2c6be033e0d712fc39359de7b955c2bf (patch)
tree8cd3b4f1488a6f9f80fc74e37f0f7d798ddbb56e /include/c11/threads.h
parent4424bf5da4f9cd18bb30fc14d1d8403e4ec6caff (diff)
c11/threads: create mutexattrs only when needed
If the mutexattrs are the default one can just pass NULL to pthread_mutex_init. As the compiler does not know this detail it unnecessarily creates/destroys the attrs. Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'include/c11/threads.h')
0 files changed, 0 insertions, 0 deletions