Home GnuPG

Where available, use async_signals in libphutil
9d85dfab0f53Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Where available, use async_signals in libphutil

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9640

Differential Revision: https://secure.phabricator.com/D17200

Details

Provenance
epriestley <git@epriestley.com>Authored on Jan 13 2017, 12:50 AM
Parents
rPHUTILa2dbae060a5e: In PhutilAPCKeyValueCache, use APCu functions on APCu 5+
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUTIL9d85dfab0f53: Where available, use async_signals in libphutil (authored by epriestley <git@epriestley.com>).Jan 13 2017, 1:00 AM