diff options
| author | Derek Foreman <derek.foreman@collabora.com> | 2021-07-21 16:32:36 -0500 |
|---|---|---|
| committer | Daniel Stone <daniels@collabora.com> | 2021-08-07 11:53:23 +0000 |
| commit | 0e0274af0c9f60d2759713df136f4294054c9096 (patch) | |
| tree | e5eb0b0f359abc61f8e7d8f9d429f5fa995530a8 /tests/cpp-compile-test.cpp | |
| parent | client: Add new proxy marshalling functions with flags (diff) | |
| download | wayland-0e0274af0c9f60d2759713df136f4294054c9096.tar wayland-0e0274af0c9f60d2759713df136f4294054c9096.tar.gz wayland-0e0274af0c9f60d2759713df136f4294054c9096.tar.bz2 wayland-0e0274af0c9f60d2759713df136f4294054c9096.tar.lz wayland-0e0274af0c9f60d2759713df136f4294054c9096.tar.xz wayland-0e0274af0c9f60d2759713df136f4294054c9096.tar.zst wayland-0e0274af0c9f60d2759713df136f4294054c9096.zip | |
scanner: Use the new atomic marshal/destroy function
Use the new flagged marshal+destroy function in generated code.
It's intended as a replacement for all existing wl_proxy_marshal_*
functions, so I've used it to replace them all. This results in a large
update to the scanner test files as well.
We now pass the new WL_MARSHAL_FLAG_DESTROY flag when appropriate, so
the race condition in #86 caused by releasing the display mutex between
marshalling the proxy and destroying the proxy is now gone.
Fixes #86
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
