gcc/libgfortran/io
Tobias Burnus a6e9633ccb Fortran: Fix libgfortran I/O race with newunit_free [PR99529]
libgfortran/ChangeLog:

	* io/transfer.c (st_read_done_worker, st_write_done_worker):
	Call unlock_unit here, add unit_lock lock around newunit_free call.
	(st_read_done, st_write_done): Only call unlock_unit when not
	calling the worker function.
	* io/unit.c (set_internal_unit): Don't reset the unit_number
	to the same number as this cause race warnings.
2021-03-12 16:31:32 +01:00
..
async.c
async.h
close.c
fbuf.c
fbuf.h
file_pos.c
format.c
format.h
inquire.c
intrinsics.c
io.h
list_read.c
lock.c
open.c
read.c
size_from_kind.c
transfer128.c
transfer.c Fortran: Fix libgfortran I/O race with newunit_free [PR99529] 2021-03-12 16:31:32 +01:00
unit.c Fortran: Fix libgfortran I/O race with newunit_free [PR99529] 2021-03-12 16:31:32 +01:00
unix.c
unix.h
write_float.def
write.c