hc
2024-11-01 2f529f9b558ca1c1bd74be7437a84e4711743404
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
/*
 * SPDX-License-Identifier: GPL-2.0
 *
 * Copyright (C) 2019 Philippe Gerum  <rpm@xenomai.org>
 */
 
#ifndef _COBALT_KERNEL_IPIPE_KEVENTS_H
#define _COBALT_KERNEL_IPIPE_KEVENTS_H
 
#define KEVENT_PROPAGATE   0
#define KEVENT_STOP        1
 
struct cobalt_process;
struct cobalt_thread;
 
static inline
int pipeline_attach_process(struct cobalt_process *process)
{
   return 0;
}
 
static inline
void pipeline_detach_process(struct cobalt_process *process)
{ }
 
int pipeline_prepare_current(void);
 
void pipeline_attach_current(struct xnthread *thread);
 
int pipeline_trap_kevents(void);
 
void pipeline_enable_kevents(void);
 
void pipeline_cleanup_process(void);
 
#endif /* !_COBALT_KERNEL_IPIPE_KEVENTS_H */