1: <?php
2: /**
3: * ManiaLive - TrackMania dedicated server manager in PHP
4: *
5: * @copyright Copyright (c) 2009-2011 NADEO (http://www.nadeo.com)
6: * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
7: * @version $Revision: 301 $:
8: * @author $Author: martin.gwendal $:
9: * @date $Date: 2011-12-13 18:47:54 +0100 (mar., 13 déc. 2011) $:
10: */
11:
12: namespace ManiaLive\Threading;
13:
14: /**
15: * Jobs need to implement this interface before you can add them to the ThreadPool!
16: */
17: interface Runnable
18: {
19: /**
20: * This method will be run on another process.
21: */
22: function run();
23: }
24:
25: ?>