On Wed, Sep 25, 2013 at 2:20 PM, Liu Ping Fan wrote:
> From: Paolo Bonzini
>
> Seqlock implementation for QEMU. Usage idiom
>
> reader:
> do{
> start = seqlock_read_begin()
>
> }while(seqlock_read_try(start))
>
> writer:
> seqlock_write_lock()
> ...
> seqlock_write_unlock()
>
> init
Il 25/09/2013 08:20, Liu Ping Fan ha scritto:
> From: Paolo Bonzini
>
> Seqlock implementation for QEMU. Usage idiom
>
> reader:
> do{
> start = seqlock_read_begin()
>
> }while(seqlock_read_try(start))
>
> writer:
> seqlock_write_lock()
> ...
> seqlock_write_unlock()
>
> initial
From: Paolo Bonzini
Seqlock implementation for QEMU. Usage idiom
reader:
do{
start = seqlock_read_begin()
}while(seqlock_read_try(start))
writer:
seqlock_write_lock()
...
seqlock_write_unlock()
initialization:
seqlock_init(QemuSeqLock *sl, QemuMutex *mutex)
where mutex could