trick/test/SIM_threads_simple/RUN_test/async.py

13 lines
265 B
Python
Raw Permalink Normal View History

2015-02-26 15:02:31 +00:00
# empty
def main():
trick.real_time_enable()
trick.itimer_enable()
trick.exec_set_thread_process_type(1, trick.PROCESS_TYPE_ASYNC_CHILD)
trick.exec_set_thread_process_type(2, trick.PROCESS_TYPE_ASYNC_CHILD)
if __name__ == "__main__":
main()