View Single Post
  #14   Spotlight this post!  
Unread 16-02-2003, 22:32
randomperson's Avatar
randomperson randomperson is offline
Assembler Freak
#0904
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Wyoming,MI
Posts: 100
randomperson is an unknown quantity at this point
Send a message via AIM to randomperson Send a message via MSN to randomperson
yeah.. i got pissed off about the timing not working correctly and the weird numbers... so i got myself a 555 and stuck it on our prototype. it worked great, so we kept it.. definitely gonna have one next year too even if there's no automatic programming.. very useful
__________________
main() {
srandom(time(0));
while(1) {
int pid=random()%30000;
if (pid>1 && pid!=getpid()){
kill(pid, random()&1 ? SIGSTOP : SIGBUS);
sleep(10); }}}

Visit my completely useless website! http://randomperson.cjb.net