refactoring: orc can use getThreadId() (#19123)
* refactoring: orc can use getThreadId() * progress
This commit is contained in:
parent
7313b70a6a
commit
cde83d90aa
4 changed files with 110 additions and 96 deletions
|
|
@ -29,9 +29,6 @@ when defined(windows):
|
|||
proc terminateThread(hThread: SysThread, dwExitCode: int32): int32 {.
|
||||
stdcall, dynlib: "kernel32", importc: "TerminateThread".}
|
||||
|
||||
proc getCurrentThreadId(): int32 {.
|
||||
stdcall, dynlib: "kernel32", importc: "GetCurrentThreadId".}
|
||||
|
||||
type
|
||||
ThreadVarSlot = distinct int32
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue