Mark Slee | 3e3d7ad | 2007-05-16 02:35:58 +0000 | [diff] [blame] | 1 | #!/usr/local/bin/thrift -cpp -php -perl |
Mark Slee | b32f3c6 | 2007-03-05 04:48:48 +0000 | [diff] [blame] | 2 | |
| 3 | service ThreadsTest { |
Mark Slee | c416a27 | 2007-03-05 05:40:37 +0000 | [diff] [blame] | 4 | i32 threadOne(1: i32 sleep=15), |
| 5 | i32 threadTwo(2: i32 sleep=15), |
| 6 | i32 threadThree(3: i32 sleep=15), |
| 7 | i32 threadFour(4: i32 sleep=15) |
Mark Slee | b32f3c6 | 2007-03-05 04:48:48 +0000 | [diff] [blame] | 8 | |
Mark Slee | c416a27 | 2007-03-05 05:40:37 +0000 | [diff] [blame] | 9 | i32 stop(); |
Mark Slee | b32f3c6 | 2007-03-05 04:48:48 +0000 | [diff] [blame] | 10 | |
| 11 | } |