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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 
#include "pthread_impl.h"
#include <threads.h>

int mtx_init(mtx_t * m, int type)
{
	*m = (mtx_t) {
		._m_type = ((type&mtx_recursive) ? PTHREAD_MUTEX_RECURSIVE : PTHREAD_MUTEX_NORMAL),
	};
	return thrd_success;
}
debug log:

solving a197898 ...
found a197898 in https://inbox.vuxu.org/musl/0f3acdbceb88a357600611d64f7b5ed13ab3eced.1409524413.git.Jens.Gustedt@inria.fr/ ||
	https://inbox.vuxu.org/musl/1fd80c87fbb0d610730e9d0bf986a304427ba8ff.1409423162.git.Jens.Gustedt@inria.fr/

applying [1/2] https://inbox.vuxu.org/musl/0f3acdbceb88a357600611d64f7b5ed13ab3eced.1409524413.git.Jens.Gustedt@inria.fr/
diff --git a/src/thread/mtx_init.c b/src/thread/mtx_init.c
new file mode 100644
index 0000000..a197898

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

skipping https://inbox.vuxu.org/musl/1fd80c87fbb0d610730e9d0bf986a304427ba8ff.1409423162.git.Jens.Gustedt@inria.fr/ for a197898
index at:
100644 a197898f4a310a98f4da187e515e87a5830a60e7	src/thread/mtx_init.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).