This may be the simplest question posted on here, but....I want to basically do this int p=0; while(!p); so have the code do nothing until the variable p is equal to 1. Is a while loop the best or is there a nicer method? Thanks! Dan -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/