[w32file] transition to GC unsafe in file handle close callbacks.
commit965750f13ae0757c21b090b0b8afa30c32ab4109
authorAleksey Kliger <aleksey@xamarin.com>
Tue, 14 Feb 2017 17:39:59 +0000 (14 12:39 -0500)
committerAleksey Kliger <aleksey@xamarin.com>
Tue, 14 Feb 2017 17:39:59 +0000 (14 12:39 -0500)
tree0358b4cdec93294bfcd06944a7446719846c7d11
parentf238640c9ff855bc5c2ab812cf21fd747a624dc9
[w32file] transition to GC unsafe in file handle close callbacks.

Followup to last commit (f238640c9ff855bc5c2ab812cf21fd747a624dc9).
We need to transition to unsafe to call file_share_release and the _wapi_
functions, and then back to safe to call close(2).
mono/metadata/w32file-unix.c