I try use
static struct proc *mainproc;
kproc_create(kt_log_rw_arq, NULL, &mainproc, 0, 0, "raymond_main_thread");
and works fine
but when I try use
kthread_create(kt_log_rw_arq, NULL, &mainproc, 0, 0, "raymond_main_thread");
and not works,
what is the difference between kthread_create...