ARC: implemented a simple cycle detector
This commit is contained in:
parent
7e747d11c6
commit
2dea920379
4 changed files with 44 additions and 6 deletions
|
|
@ -341,6 +341,8 @@ when defined(windows) or defined(nimdoc):
|
|||
addr lpNumberOfBytesTransferred, addr lpCompletionKey,
|
||||
cast[ptr POVERLAPPED](addr customOverlapped), llTimeout).bool
|
||||
result = true
|
||||
when defined(gcDestructors):
|
||||
GC_ref(customOverlapped)
|
||||
|
||||
# http://stackoverflow.com/a/12277264/492186
|
||||
# TODO: http://www.serverframework.com/handling-multiple-pending-socket-read-and-write-operations.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue