include std/private/syslocks

This commit is contained in:
ringabout
2025-12-17 19:14:49 +08:00
parent c71854756a
commit d79c04151f
8 changed files with 56 additions and 59 deletions

View File

@@ -11,7 +11,6 @@
{.push profiler:off.}
include osalloc
import std/private/syslocks
template track(op, address, size) =
when defined(memTracker):

View File

@@ -143,8 +143,6 @@
when not declared(ThisIsSystem):
{.error: "You must not import this module explicitly".}
import std/private/syslocks
type
pbytes = ptr UncheckedArray[byte]
RawChannel {.pure, final.} = object ## msg queue for a thread

View File

@@ -9,7 +9,6 @@
{.push raises: [], gcsafe.}
# "Stack GC" for embedded devices or ultra performance requirements.
import std/private/syslocks
when defined(memProfiler):
proc nimProfile(requestedSize: int) {.benign.}