mirror of
https://github.com/nasa/trick.git
synced 2025-06-16 06:08:17 +00:00
Split test sims and fun sims into separate directories.
Moved the 2 thread directories. refs #191
This commit is contained in:
12
test/SIM_threads_simple/RUN_test/async.py
Normal file
12
test/SIM_threads_simple/RUN_test/async.py
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
# 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()
|
||||
|
Reference in New Issue
Block a user