Page MenuHomePhabricator

Where available, use async_signals in libphutil
ClosedPublic

Authored by epriestley on Jan 12 2017, 11:53 PM.
Tags
None
Referenced Files
F14010933: D17200.id41353.diff
Thu, Oct 31, 1:50 PM
F13995368: D17200.id41361.diff
Wed, Oct 23, 12:23 PM
F13990663: D17200.diff
Tue, Oct 22, 5:20 AM
F13967343: D17200.id41353.diff
Wed, Oct 16, 1:01 PM
Unknown Object (File)
Sep 15 2024, 6:57 PM
Unknown Object (File)
Sep 10 2024, 6:46 AM
Unknown Object (File)
Sep 10 2024, 6:46 AM
Unknown Object (File)
Sep 10 2024, 6:46 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