Merge pull request #402 from williballenthin/patch-5

qemu-thread-posix: bail on mutex errors
This commit is contained in:
Nguyen Anh Quynh 2016-01-25 12:23:58 +08:00
commit c7238597b3

View File

@ -29,8 +29,8 @@
static void error_exit(int err, const char *msg) static void error_exit(int err, const char *msg)
{ {
// fprintf(stderr, "qemu: %s: %s\n", msg, strerror(err)); fprintf(stderr, "qemu: %s: %s\n", msg, strerror(err));
// abort(); abort();
} }
void qemu_mutex_init(QemuMutex *mutex) void qemu_mutex_init(QemuMutex *mutex)