I hasten to add that you can get more information on swat with 'man swat' Cliff Rowley - while (!asleep) { code(); }