commit | 0063152d709fefd7af2d9d9c3dd5d33c00c87ac2 | [log] [tgz] |
---|---|---|
author | Adam Barth <abarth@google.com> | Fri Apr 26 05:17:59 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Apr 26 05:17:59 2019 +0000 |
tree | 1ef2bc5b9f8d7994f229af6a161fb13b18ac6429 | |
parent | 5a66c475af0001b5da83a0afc1778998bf850111 [diff] |
[fdio] Don't crash on exit when blocked in accept() Previously, processes would crash after their atexit handle ran if the process contained a thread that was blocked in accept. When blocked in accept, the thread reserves a slot in the FD table for the socket that will be accepted. Prior to this CL, the fini logic that unwinds the FD table did not understand how to handle such reserved slots. Test: exit_in_accept_test in fdio-test Change-Id: I60d10e6a48980dabc274ba180732adadec470b8e
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.