Re: [PATCH v4 11/11] hw/display/apple-gfx: Replace QemuSemaphore with QemuEvent

2025-05-28 Thread Akihiko Odaki
On 2025/05/26 18:29, Philippe Mathieu-Daudé wrote: On 26/5/25 11:27, Philippe Mathieu-Daudé wrote: On 26/5/25 07:29, Akihiko Odaki wrote: sem in AppleGFXReadMemoryJob is an one-shot event so it can be converted into QemuEvent, which is more specialized for such a use case. BTW it would be nic

Re: [PATCH v4 11/11] hw/display/apple-gfx: Replace QemuSemaphore with QemuEvent

2025-05-26 Thread Philippe Mathieu-Daudé
On 26/5/25 07:29, Akihiko Odaki wrote: sem in AppleGFXReadMemoryJob is an one-shot event so it can be converted into QemuEvent, which is more specialized for such a use case. Signed-off-by: Akihiko Odaki --- hw/display/apple-gfx.m | 10 +- 1 file changed, 5 insertions(+), 5 deletions

Re: [PATCH v4 11/11] hw/display/apple-gfx: Replace QemuSemaphore with QemuEvent

2025-05-26 Thread Philippe Mathieu-Daudé
On 26/5/25 11:27, Philippe Mathieu-Daudé wrote: On 26/5/25 07:29, Akihiko Odaki wrote: sem in AppleGFXReadMemoryJob is an one-shot event so it can be converted into QemuEvent, which is more specialized for such a use case. BTW it would be nice to document that in "qemu/thread.h" API. Signed

[PATCH v4 11/11] hw/display/apple-gfx: Replace QemuSemaphore with QemuEvent

2025-05-25 Thread Akihiko Odaki
sem in AppleGFXReadMemoryJob is an one-shot event so it can be converted into QemuEvent, which is more specialized for such a use case. Signed-off-by: Akihiko Odaki --- hw/display/apple-gfx.m | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/display/apple-gfx.m b/