[flang-commits] [PATCH] D131097: [flang][runtime] Catch & report attempts at recursive I/O

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Aug 3 12:49:06 PDT 2022


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

When an I/O statement contains a function call that attempts
to perform I/O on the same unit, detect the recursive I/O
and terminate with a useful message rather than deadlocking in
the threading library.


https://reviews.llvm.org/D131097

Files:
  flang/runtime/io-api.cpp
  flang/runtime/unit.cpp
  flang/runtime/unit.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131097.449747.patch
Type: text/x-patch
Size: 9513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220803/e2bc236b/attachment-0001.bin>


More information about the flang-commits mailing list