qemu_thread_create prototype is changed on 2.0 version
Change-Id: Id9776bc747c3bb645583bd2405db4e2d7bc11536
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
// device
#define CODEC_DEVICE_NAME "brillcodec"
+#define CODEC_DEVICE_THREAD "codec-workthread"
#define CODEC_VERSION 2
// device memory
qemu_mutex_unlock(&s->context_mutex);
for (index = 0; index < s->worker_thread_cnt; index++) {
- qemu_thread_create(&pthread[index],
+ qemu_thread_create(&pthread[index], CODEC_DEVICE_THREAD,
maru_brill_codec_threads, (void *)s, QEMU_THREAD_JOINABLE);
}