<s> import time <EOL> from Rpyc import Async <EOL> def threadfunc ( callback ) : <EOL> """<STR_LIT>""" <EOL> callback = Async ( callback ) <EOL> try : <EOL> while True : <EOL> print "<STR_LIT:!>" <EOL> callback ( ) <EOL> time . sleep ( <NUM_LIT:1> ) <EOL> except : <EOL> print "<STR_LIT>" <EOL> def printer ( text ) : <EOL> print text <EOL> def caller ( func , * args ) : <EOL> func ( * args ) </s>
