mailing list of musl libc
 help / color / mirror / code / Atom feed
433f9841db69c38100f5f8858c07a087e16e36ba blob 320 bytes (raw)

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

int __cnd_timedwait_base_time32(cnd_t *restrict c, mtx_t *restrict m, int time_base, const struct timespec32 *restrict ts32)
{
	return cnd_timedwait_base(c, m, time_base, ts32 ? (&(struct timespec){
		.tv_sec = ts32->tv_sec, .tv_nsec = ts32->tv_nsec}) : 0);
}
debug log:

solving 433f9841 ...
found 433f9841 in https://inbox.vuxu.org/musl/20230620143703.1415-6-luoyonggang@gmail.com/

applying [1/1] https://inbox.vuxu.org/musl/20230620143703.1415-6-luoyonggang@gmail.com/
diff --git a/compat/time32/cnd_timedwait_base_time32.c b/compat/time32/cnd_timedwait_base_time32.c
new file mode 100644
index 00000000..433f9841

Checking patch compat/time32/cnd_timedwait_base_time32.c...
Applied patch compat/time32/cnd_timedwait_base_time32.c cleanly.

index at:
100644 433f9841db69c38100f5f8858c07a087e16e36ba	compat/time32/cnd_timedwait_base_time32.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).