mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 05:23:20 +00:00
@@ -345,7 +345,7 @@ else:
|
||||
proc stackTraceAvailable*(): bool = result = false
|
||||
|
||||
var onUnhandledException*: (proc (errorMsg: string) {.
|
||||
nimcall.}) ## Set this error \
|
||||
nimcall, gcsafe.}) ## Set this error \
|
||||
## handler to override the existing behaviour on an unhandled exception.
|
||||
##
|
||||
## The default is to write a stacktrace to ``stderr`` and then call ``quit(1)``.
|
||||
|
||||
@@ -107,7 +107,7 @@ template afterThreadRuns() =
|
||||
when not defined(boehmgc) and not hasSharedHeap and not defined(gogc) and not defined(gcRegions):
|
||||
proc deallocOsPages() {.rtl, raises: [].}
|
||||
|
||||
proc threadTrouble() {.raises: [].}
|
||||
proc threadTrouble() {.raises: [], gcsafe.}
|
||||
## defined in system/excpt.nim
|
||||
|
||||
when defined(boehmgc):
|
||||
|
||||
Reference in New Issue
Block a user