Skip to content
Commit 0e0274af authored by Derek Foreman's avatar Derek Foreman Committed by Daniel Stone
Browse files

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: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 23e4a706
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment