Homec4science

Allow PhutilLocks to block

Authored by epriestley <git@epriestley.com> on Jul 6 2012, 01:03.

Description

Allow PhutilLocks to block

Summary: There are a couple of operations where I want to use locks now that we have a primitive, but when they're on web workflows we should block and wait for the lock. Allow locks to block.

Test Plan: Ran unit tests, "lock.php" with --wait, verified CPU usage for blocking processes is negligible, verified blocking processes acquire locks when they're released.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

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

Details

Committed
epriestley <git@epriestley.com>Jul 6 2012, 01:03
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU5f5d7577e613: Show event dispatch in the ServiceProfiler
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU5aa06b7a50fd: Allow PhutilLocks to block (authored by epriestley <git@epriestley.com>).Jul 6 2012, 01:03