www/code-server: Update to 4.137.0
The diff editor gains a unified layout option that shows changes inline,
side by side, or selects the best fit automatically. Multi-file diffs
now show binary files with a placeholder instead of hiding them. Links
to GitHub issues and pull requests in the Markdown editor show their
title and current state. Extensions that rely on proposed VS Code APIs,
such as Python and Jupyter, now have those APIs enabled.
Changelog: https://github.com/coder/code-server/releases
Obtained from: editors/vscode
Sponsored by: Netzkommune GmbH
linuxkpi: Fix cancel_delayed_work_sync() return value
Align behavior between the Linux cancel_delayed_work_sync()
function return value and the LinuxKPI equivalent.
Linux cancel_delayed_work_sync() returns whether delayed
work was pending, even if canceled before executing. This
includes the case where the timer fired and work was queued
but the callback had not yet started.
The LinuxKPI version used the return value from taskqueue_cancel()
as the return value of the public facing API, which inverted the
behavior of two cases, violating the Linux API contract.
Queued work which was removed before running would return false, and
work whose callback was already executing would return true.
Track the taskqueue pending count separately from the
taskqueue_cancel() return value.
Use the pending count for the public return value.
[11 lines not shown]