write_thread
error = pthread_create(&th, NULL, write_thread, &ctx);
static void *write_thread(void *);
con->write_thread = drm_log_write_thread;