diff options
| -rwxr-xr-x | src/join.py (renamed from src/test.py) | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test.py b/src/join.py index a864e18..b33094d 100755 --- a/src/test.py +++ b/src/join.py @@ -18,8 +18,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ''' -import time - import random import threading @@ -118,24 +116,3 @@ def concurrently(*fs): for t in ts: ts.join() - -class test: - @signal - def signal(f, *args): - f(*args) - return 'test' - - @fragment - def fragment(*args, **kwargs): - pass - - def join(param): - (jargs, jkwargs) = join(test.fragment) - print(param, dict(jkwargs), *jargs) - - -s = test.signal(test.join, 'join') -time.sleep(1) -test.fragment('arg1', 'arg2', a = 'A', b = 'B') -print(s.join()) - |
