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)
Sat, Dec 14, 11:10 PM
Unknown Object (File)
Thu, Dec 5, 3:22 AM
Unknown Object (File)
Tue, Dec 3, 9:02 AM
Unknown Object (File)
Fri, Nov 29, 10:13 AM
Unknown Object (File)
Thu, Nov 28, 4:41 PM
Unknown Object (File)
Sun, Nov 24, 11:58 PM
Unknown Object (File)
Nov 18 2024, 1:21 PM
Unknown Object (File)
Nov 18 2024, 1:08 PM
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