File: threads.h

package info (click to toggle)
netconsd 0.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 344 kB
  • sloc: ansic: 2,650; cpp: 111; python: 107; makefile: 98
file content (21 lines) | stat: -rw-r--r-- 524 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree.
 */

#ifndef __NCRX_THREADS_H__
#define __NCRX_THREADS_H__

#include "msgbuf-struct.h"
#include "common.h"

struct tctl;
struct ncrx_listener;

void enqueue_and_wake_all(struct ncrx_listener *listener);
struct tctl *create_threads(struct netconsd_params *p);
void destroy_threads(struct tctl *ctl);

#endif /* __NCRX_THREADS_H__ */