pthread_mutex_destroy.c\thread\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/thread/pthread_mutex_destroy.c
blob: 8d1bf77b879212256111446c657209dd7a5cd73c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include "pthread_impl.h"
int pthread_mutex_destroy(pthread_mutex_t *mutex)
{
	/* If the mutex being destroyed is process-shared and has nontrivial
	 * type (tracking ownership), it might be in the pending slot of a
	 * robust_list; wait for quiescence. */
	if (mutex->_m_type > 128) __vm_wait();
	return 0;
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月10日 12:20:15 +0000

AltStyle によって変換されたページ (->オリジナル) /