[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 6/8] linux-user: Support CPU work queue
From: |
Sergey Fedorov |
Subject: |
Re: [Qemu-devel] [RFC 6/8] linux-user: Support CPU work queue |
Date: |
Wed, 29 Jun 2016 17:59:51 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
On 27/06/16 12:31, Alex Bennée wrote:
> Sergey Fedorov <address@hidden> writes:
>
>> diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
>> index c1f59fa59d2c..23b4b50e0a45 100644
>> --- a/include/exec/exec-all.h
>> +++ b/include/exec/exec-all.h
>> @@ -407,4 +407,8 @@ extern int singlestep;
>> extern CPUState *tcg_current_cpu;
>> extern bool exit_request;
>>
>> +void wait_cpu_work(void);
>> +void signal_cpu_work(void);
>> +void flush_queued_work(CPUState *cpu);
>> +
> Now these are public APIs (and have multiple implementations) some doc
> comments would be useful here.
Sure, I'll do this as soon as I'm sure that this is a right approach.
Thanks,
Sergey