eal/windows: complete queue.h data structures
[dpdk.git] / lib / librte_eal / windows / eal_windows.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2020 Dmitry Kozlyuk
3  */
4
5 #ifndef _EAL_WINDOWS_H_
6 #define _EAL_WINDOWS_H_
7
8 /**
9  * @file Facilities private to Windows EAL
10  */
11
12 #include <rte_windows.h>
13
14 /**
15  * Create a map of processors and cores on the system.
16  */
17 void eal_create_cpu_map(void);
18
19 /**
20  * Create a thread.
21  *
22  * @param thread
23  *   The location to store the thread id if successful.
24  * @return
25  *   0 for success, -1 if the thread is not created.
26  */
27 int eal_thread_create(pthread_t *thread);
28
29 #endif /* _EAL_WINDOWS_H_ */