View Single Post
  #5   Spotlight this post!  
Unread 24-02-2004, 18:02
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
Re: A better autonomous method..

Yeah, and also.. this year the controller has a built-in timer... however, as they mentioned, the idea behind the my code last year still is a good one. I believe others have done the same thing last year and this year and some of the code is scattered around delphi...
__________________
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