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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
#include "pthread_impl.h"

/* The following two are overwritten by pthread_create.c */
_Weak
void __weak_dummy_ptcb(struct __ptcb *cb)
{
}

weak_alias(__weak_dummy_ptcb, __do_cleanup_push);
weak_alias(__weak_dummy_ptcb, __do_cleanup_pop);

void _pthread_cleanup_push(struct __ptcb *cb, void (*f)(void *), void *x)
{
	cb->__f = f;
	cb->__x = x;
	__do_cleanup_push(cb);
}

void _pthread_cleanup_pop(struct __ptcb *cb, int run)
{
	__do_cleanup_pop(cb);
	if (run) cb->__f(cb->__x);
}
debug log:

solving fa3208e ...
found fa3208e in https://inbox.vuxu.org/musl/fef8bbf759787cabc4ffd61c4e3357bc11112f8b.1360968989.git.Jens.Gustedt@inria.fr/
found 9b21764 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 9b21764b56b0bea71300b30dedaf950248135112	src/thread/cancellation.c

applying [1/1] https://inbox.vuxu.org/musl/fef8bbf759787cabc4ffd61c4e3357bc11112f8b.1360968989.git.Jens.Gustedt@inria.fr/
diff --git a/src/thread/cancellation.c b/src/thread/cancellation.c
index 9b21764..fa3208e 100644

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

index at:
100644 fa3208ef657127d7a876aed5b9503ecba8e1ed87	src/thread/cancellation.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).