On 2011-09-09 11:37, Stefan Hajnoczi wrote: > Convert the simple trace backend to glib so that it works under Windows. > We cannot use pthread directly but glib provides portable abstractions. > Also use glib atomics instead of newish gcc builtins which may not be > supported on Windows toolchains.
Please avoid restrictive glib thread services. We have qemu_thread abstractions that allow central tuning (will be needed e.g. to adjust scheduling parameters). I'm currently on the way to eliminate remaining pthread users and add some missing bits to qemu_thread/cond. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux