[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] qxl: pthread_yield on QXL_IO_NOTIFY_OOM
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] qxl: pthread_yield on QXL_IO_NOTIFY_OOM |
Date: |
Tue, 20 Sep 2011 16:27:57 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Hi Gerd,
can you (or anyone familiar with those bits) comment on pthread_yield()
in ioport_write() of hw/qxl.c? Which threads are supposed to run this
way? Can't this relation be expressed explicitly? If not, can we use a
sleep here (how long?)?
The background is that yielding easily breaks into pieces when leaving
the SCHED_OTHER space (what we are working on).
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
- [Qemu-devel] qxl: pthread_yield on QXL_IO_NOTIFY_OOM,
Jan Kiszka <=