This file is indexed.

/usr/include/parrot/5.9.0/parrot/thr_none.h is in libparrot-dev 5.9.0-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
/*  Copyright (C) 2011, Parrot Foundation.
 *  Null thread interface definition shims.
 */

#ifndef PARROT_THR_NULL_H_GUARD
#define PARROT_THR_NULL_H_GUARD

#define LOCK(m)
#define UNLOCK(m)
#define COND_WAIT(c, m)
#define COND_TIMED_WAIT(c, m, t, rc)
#define COND_SIGNAL(c)
#define COND_BROADCAST(c)

#define MUTEX_INIT(m)
#define MUTEX_DESTROY(m)

#define COND_INIT(c)
#define COND_DESTROY(c)

#define THREAD_CREATE_DETACHED(t, func, arg)
#define THREAD_CREATE_JOINABLE(t, func, arg)

#define JOIN(t, ret)
#define DETACH(t)

#define CLEANUP_PUSH(f, a)
#define CLEANUP_POP(a)

#define Parrot_mutex int
#define Parrot_cond int
#define Parrot_thread int

typedef void (*Cleanup_Handler)(void *);

#if ! PARROT_HAS_TIMESPEC
struct timespec {
    time_t tv_sec;
    long tv_nsec;
};
#endif /* PARROT_HAS_TIMESPEC */

#endif /* PARROT_THR_NULL_H_GUARD */

/*
 * Local variables:
 *   c-file-style: "parrot"
 * End:
 * vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
 */