qemu_thread_join() takes only 1 arg

This commit is contained in:
Nguyen Anh Quynh
2016-04-23 10:17:04 +08:00
parent 3a742fb6f6
commit 72ba554738
3 changed files with 3 additions and 4 deletions

View File

@ -298,7 +298,7 @@ void qemu_thread_exit(struct uc_struct *uc, void *arg)
_endthreadex(0);
}
void *qemu_thread_join(struct uc_struct *uc, QemuThread *thread)
void *qemu_thread_join(QemuThread *thread)
{
QemuThreadData *data;
void *ret;
@ -323,7 +323,6 @@ void *qemu_thread_join(struct uc_struct *uc, QemuThread *thread)
ret = data->ret;
assert(data->mode != QEMU_THREAD_DETACHED);
DeleteCriticalSection(&data->cs);
uc->qemu_thread_data = NULL;
g_free(data);
return ret;
}