SIGN IN SIGN UP

trace: portable simple trace backend using glib

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.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
S
Stefan Hajnoczi committed
85aff1586fe4a0dfc6eda2dfd6e79e78063f4fbb
Parent: 598a3f3