File tree Expand file tree Collapse file tree
src/coreclr/nativeaot/Runtime Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ else()
153153 )
154154
155155 list (APPEND FULL_RUNTIME_SOURCES
156- unix /cgroup .cpp
156+ unix /cgroupcpu .cpp
157157 unix /HardwareExceptions.cpp
158158 unix /UnixContext.cpp
159159 unix /UnixSignals.cpp
Original file line number Diff line number Diff line change @@ -344,8 +344,6 @@ void ConfigureSignals()
344344 signal (SIGPIPE, SIG_IGN);
345345}
346346
347- extern bool GetCpuLimit (uint32_t * val);
348-
349347void InitializeCurrentProcessCpuCount ()
350348{
351349 uint32_t count;
Original file line number Diff line number Diff line change @@ -500,11 +500,6 @@ void InitializeCpuCGroup()
500500 CGroup::Initialize ();
501501}
502502
503- void CleanupCpuCGroup ()
504- {
505- CGroup::Cleanup ();
506- }
507-
508503bool GetCpuLimit (uint32_t * val)
509504{
510505 if (val == nullptr )
Original file line number Diff line number Diff line change 11// Licensed to the .NET Foundation under one or more agreements.
22// The .NET Foundation licenses this file to you under the MIT license.
33
4-
54#ifndef __CGROUPCPU_H__
65#define __CGROUPCPU_H__
76
87void InitializeCpuCGroup ();
9- void CleanupCpuCGroup ( );
8+ bool GetCpuLimit ( uint32_t * val );
109
1110#endif // __CGROUPCPU_H__
12-
You can’t perform that action at this time.
0 commit comments