Page MenuHomePhabricator

Where available, use async_signals in libphutil
ClosedPublic

Authored by epriestley on Jan 12 2017, 11:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 4, 1:57 AM
Unknown Object (File)
Sun, Aug 2, 5:10 AM
Unknown Object (File)
Jul 5 2026, 1:01 AM
Unknown Object (File)
Jun 28 2026, 5:01 AM
Unknown Object (File)
Jun 27 2026, 1:47 AM
Unknown Object (File)
Jun 23 2026, 4:40 AM
Unknown Object (File)
Jun 23 2026, 4:34 AM
Unknown Object (File)
Mar 4 2026, 2:33 AM
Subscribers
None

Details

Summary

Ref T9640. In libphutil, switches to the PHP 7.1 async_signals mechanism when it is available.

Test Plan

With the next change, ran daemons with bin/phd start and bin/phd debug, then ^C'd them.

  • Before patch: long hang.
  • After patch: They responded to the signals normally and exited promptly.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable