Thread Insomnia !!!

From: Amber Palekar (
Date: Fri Jan 04 2002 - 05:35:54 EST

  i want to do a non-blocking sock_recvmsg in a
module(2.4.4 on an i386) .( i am usign MSG_DONTWAIT
for that ) I am doing this inside a kernel
thread.After this stmt , i put the thread to sleep by
doing :-

   ret = sock_recvmsg(.....,MSG_DONTWAIT);
   if(ret < 0)
        /* print the mesg and get out of loop */
      As soon as i insmod this module my m/c just
hangs after it reaches the sleep stmt( i used printk
debugging to get this ) Any solutions ????


Do You Yahoo!?
Send your FREE holiday greetings online!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:24 EST