On Wed, Oct 01, 2025 at 10:00:38AM +0200, Paolo Bonzini wrote:
> Date: Wed,  1 Oct 2025 10:00:38 +0200
> From: Paolo Bonzini <[email protected]>
> Subject: [PATCH 01/14] qobject: make refcount atomic
> X-Mailer: git-send-email 2.51.0
> 
> The Rust bindings for QObject will only share a complete
> object and treat it as immutable from that point on.  With
> that constraint, it is trivial to make QObjects thread-safe
> just by making reference count operations atomic.  Do the
> same when the C code adds or removes references.
> 
> Signed-off-by: Paolo Bonzini <[email protected]>
> ---
>  include/qobject/qobject.h | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Zhao Liu <[email protected]>


Reply via email to