-
Notifications
You must be signed in to change notification settings - Fork 15.4k
[libc][sched] Implement proxy headers for cpu_set_t, struct sched_param and sched_macros.
#126303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
1a2fe13
ba8c535
c6a14a1
822bdb0
00b5943
8c990d2
926702c
02b5e6c
99ee89d
5a91cde
ece948f
c2ccccf
fd0ec52
32f9a0a
88fd93f
b34baef
de1eead
55849ca
7b48a0c
9a42b90
8baed07
9228a3b
0811fb1
23f30e9
cbcaf85
3f67c42
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| //===-- Proxy for cpu_set_t -----------------------------------------------===// | ||
| // | ||
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
| // See https://llvm.org/LICENSE.txt for license information. | ||
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
| // | ||
| //===----------------------------------------------------------------------===// | ||
|
|
||
| #ifndef LLVM_LIBC_HDR_TYPES_CPU_SET_T_H | ||
| #define LLVM_LIBC_HDR_TYPES_CPU_SET_T_H | ||
|
|
||
| #ifdef LIBC_FULL_BUILD | ||
|
|
||
| #include "include/llvm-libc-types/cpu_set_t.h" | ||
|
|
||
| #else // Overlay mode | ||
|
|
||
| #include <sched.h> | ||
|
|
||
| #endif // LLVM_LIBC_FULL_BUILD | ||
|
|
||
| #endif // LLVM_LIBC_HDR_TYPES_CPU_SET_T_H | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ | |
| #include "src/__support/common.h" | ||
| #include "src/__support/macros/config.h" | ||
|
|
||
| #include <sched.h> | ||
| #include "hdr/types/cpu_set_t.h" | ||
| #include <stddef.h> | ||
|
||
|
|
||
| namespace LIBC_NAMESPACE_DECL { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ | |
| #define LLVM_LIBC_SRC_SCHED_SCHED_GETPARAM_H | ||
|
|
||
| #include "src/__support/macros/config.h" | ||
| #include <sched.h> | ||
| #include "hdr/types/cpu_set_t.h" | ||
|
||
|
|
||
| namespace LIBC_NAMESPACE_DECL { | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ | |
| #define LLVM_LIBC_SRC_SCHED_SCHED_GETSCHEDULER_H | ||
|
|
||
| #include "src/__support/macros/config.h" | ||
| #include <sched.h> | ||
| #include "hdr/types/cpu_set_t.h" | ||
|
||
|
|
||
| namespace LIBC_NAMESPACE_DECL { | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ | |
| #define LLVM_LIBC_SRC_SCHED_SCHED_SETPARAM_H | ||
|
|
||
| #include "src/__support/macros/config.h" | ||
| #include <sched.h> | ||
| #include "hdr/types/cpu_set_t.h" | ||
|
||
|
|
||
| namespace LIBC_NAMESPACE_DECL { | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.