diff options
| author | Derek Foreman <derek.foreman@collabora.com> | 2021-07-21 16:03:12 -0500 |
|---|---|---|
| committer | Daniel Stone <daniels@collabora.com> | 2021-08-07 11:53:23 +0000 |
| commit | 942f1d88431d394ac661af7b192154ba7aa68c29 (patch) | |
| tree | 06509452f9258515ebb105f30830f2d17d69c0c6 /tests/cpp-compile-test.cpp | |
| parent | cursor: remove unused wl_cursor_theme.name (diff) | |
| download | wayland-942f1d88431d394ac661af7b192154ba7aa68c29.tar wayland-942f1d88431d394ac661af7b192154ba7aa68c29.tar.gz wayland-942f1d88431d394ac661af7b192154ba7aa68c29.tar.bz2 wayland-942f1d88431d394ac661af7b192154ba7aa68c29.tar.lz wayland-942f1d88431d394ac661af7b192154ba7aa68c29.tar.xz wayland-942f1d88431d394ac661af7b192154ba7aa68c29.tar.zst wayland-942f1d88431d394ac661af7b192154ba7aa68c29.zip | |
client: Refactor wl_proxy_destroy critical section
Split wl_proxy_destroy into two pieces, wl_proxy_destroy_unlocked which
performs the critical section code with no locking, and wl_proxy_destroy
which locks before calling that.
We'll use the new unlocked variant later in code that already holds the
lock.
There is a slight functional change - an aborting check is now called
with the lock held. This should be harmless as wl_abort() performs
no locking.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
