mailing list of musl libc
 help / color / mirror / code / Atom feed
dabcb31b0d038b7387d77981bbecaa5dc5f076c6 blob 121 bytes (raw)

1
2
3
4
5
6
7
 
#include "pthread_impl.h"

int pthread_spin_lock(pthread_spinlock_t *s)
{
	while (a_cas(s, 0, 1)) a_spin();
	return 0;
}
debug log:

solving dabcb31 ...
found dabcb31 in https://inbox.vuxu.org/musl/1429051493-2821-1-git-send-email-amonakov@ispras.ru/
found df575f0 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 df575f0858681b76afb8895478778b67e8ca2a7b	src/thread/pthread_spin_lock.c

applying [1/1] https://inbox.vuxu.org/musl/1429051493-2821-1-git-send-email-amonakov@ispras.ru/
diff --git a/src/thread/pthread_spin_lock.c b/src/thread/pthread_spin_lock.c
index df575f0..dabcb31 100644

Checking patch src/thread/pthread_spin_lock.c...
Applied patch src/thread/pthread_spin_lock.c cleanly.

index at:
100644 dabcb31b0d038b7387d77981bbecaa5dc5f076c6	src/thread/pthread_spin_lock.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).