In FileStat, ReadAt, WriteAt, ReadVectoredAt, WriteVectoredAt, Sync, and possibly ShutdownSocket, the operation may perform on wrong fd, if the original fd is closed before the op is executed, and another fd is created with the same descriptor immediately.
Not sure if it will affect IOCP, because it seems that the value of handle will not recycle immediately.
In
FileStat
,ReadAt
,WriteAt
,ReadVectoredAt
,WriteVectoredAt
,Sync
, and possiblyShutdownSocket
, the operation may perform on wrong fd, if the original fd is closed before the op is executed, and another fd is created with the same descriptor immediately.Not sure if it will affect IOCP, because it seems that the value of handle will not recycle immediately.