From 79ca66eb673c710432d1f4e51af70730a09a82c8 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 19 Sep 2014 20:06:51 +0000 Subject: (svn r26853) -Cleanup [Squirrel]: remove some stuff that we never did and especially never should use --- src/3rdparty/squirrel/samples/tailstate.nut | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/3rdparty/squirrel/samples/tailstate.nut (limited to 'src/3rdparty/squirrel/samples/tailstate.nut') diff --git a/src/3rdparty/squirrel/samples/tailstate.nut b/src/3rdparty/squirrel/samples/tailstate.nut deleted file mode 100644 index 59fb962ef..000000000 --- a/src/3rdparty/squirrel/samples/tailstate.nut +++ /dev/null @@ -1,24 +0,0 @@ -function state1() -{ - ::suspend("state1"); - return state2(); -} - -function state2() -{ - ::suspend("state2"); - return state3(); -} - -function state3() -{ - ::suspend("state3"); - return state1(); -} - -local statethread = ::newthread(state1) - -::print(statethread.call()+"\n"); - -for(local i = 0; i < 10000; i++) - ::print(statethread.wakeup()+"\n"); -- cgit v1.2.3-54-g00ecf