|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v5 17/45] Add wrappers and handlers for sending/receiving the postcopy-ram migration messages. |
Date: | Sat, 28 Mar 2015 16:43:21 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 25/02/2015 17:51, Dr. David Alan Gilbert (git) wrote: > +PostcopyState postcopy_state_get(MigrationIncomingState *mis) > +{ > + return atomic_fetch_add(&mis->postcopy_state, 0); > +} > + > +/* Set the state and return the old state */ > +PostcopyState postcopy_state_set(MigrationIncomingState *mis, > + PostcopyState new_state) > +{ > + return atomic_xchg(&mis->postcopy_state, new_state); > +} Which are the (multiple) threads are calling these functions? Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |