blob: 1d0e50d65a60faefcd251a6309e43bedc5b0834e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/* $OpenBSD: thread_fd.c,v 1.4 2001/09/04 22:17:45 fgsch Exp $ */
#include <sys/time.h>
#include <pthread.h>
#include "thread_private.h"
WEAK_PROTOTYPE(_thread_fd_lock);
WEAK_PROTOTYPE(_thread_fd_lock_debug);
WEAK_PROTOTYPE(_thread_fd_unlock);
WEAK_PROTOTYPE(_thread_fd_unlock_debug);
WEAK_ALIAS(_thread_fd_lock);
WEAK_ALIAS(_thread_fd_lock_debug);
WEAK_ALIAS(_thread_fd_unlock);
WEAK_ALIAS(_thread_fd_unlock_debug);
int
WEAK_NAME(_thread_fd_lock)(fd, lock_type, timeout)
int fd;
int lock_type;
struct timespec *timeout;
{
return 0;
}
int
WEAK_NAME(_thread_fd_lock_debug)(fd, lock_type, timeout, fname, lineno)
int fd;
int lock_type;
struct timespec *timeout;
char *fname;
int lineno;
{
return 0;
}
void
WEAK_NAME(_thread_fd_unlock)(fd, lock_type)
int fd;
int lock_type;
{
}
void
WEAK_NAME(_thread_fd_unlock_debug)(fd, lock_type, fname, lineno)
int fd;
int lock_type;
char *fname;
int lineno;
{
}
|