kernel_thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
 
why when i link the module it block the system?
int my_thread( ){

while(1){

   // do something

}
return 0;

}


init_module:

      kernel_thread(my_thread,NULL, CLONE_FS |CLONE_FILES | CLONE_SIGNAL);


 
how can i resolve it?
 

thanks

R!SC


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux