adaint.c (remove_handle): New local routine without a lock.
commit6654786e8fcc06afd500494533b0400138241b98
authorPascal Obry <obry@adacore.com>
Thu, 20 Nov 2014 10:47:11 +0000 (20 10:47 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 20 Nov 2014 10:47:11 +0000 (20 11:47 +0100)
treed223591c9e818c0a139b752507fc7073d438020c
parent04e9213da79a04f1f87f1b15ed141a065b3d0185
adaint.c (remove_handle): New local routine without a lock.

2014-11-20  Pascal Obry  <obry@adacore.com>

* adaint.c (remove_handle): New local routine without a lock.
(win32_wait): fix the critical section to properly protect needed
code, use new remove_handle.
(__gnat_win32_remove_handle): refactor code with remove_handle.

From-SVN: r217832
gcc/ada/ChangeLog
gcc/ada/adaint.c