digraph petrinet { CONDVAR_0_NOTIFY [shape="circle" xlabel="CONDVAR_0_NOTIFY" label=""]; CONDVAR_0_WAIT_ENABLED [shape="circle" xlabel="CONDVAR_0_WAIT_ENABLED" label="•"]; MUTEX_0 [shape="circle" xlabel="MUTEX_0" label="•"]; MUTEX_0_CONDITION_NOT_SET [shape="circle" xlabel="MUTEX_0_CONDITION_NOT_SET" label="•"]; MUTEX_0_CONDITION_SET [shape="circle" xlabel="MUTEX_0_CONDITION_SET" label=""]; PROGRAM_END [shape="circle" xlabel="PROGRAM_END" label=""]; PROGRAM_PANIC [shape="circle" xlabel="PROGRAM_PANIC" label=""]; PROGRAM_START [shape="circle" xlabel="PROGRAM_START" label="•"]; THREAD_0_END [shape="circle" xlabel="THREAD_0_END" label=""]; THREAD_0_START [shape="circle" xlabel="THREAD_0_START" label=""]; main_BB1 [shape="circle" xlabel="main_BB1" label=""]; main_BB10 [shape="circle" xlabel="main_BB10" label=""]; main_BB11 [shape="circle" xlabel="main_BB11" label=""]; main_BB12 [shape="circle" xlabel="main_BB12" label=""]; main_BB13 [shape="circle" xlabel="main_BB13" label=""]; main_BB14 [shape="circle" xlabel="main_BB14" label=""]; main_BB15 [shape="circle" xlabel="main_BB15" label=""]; main_BB16 [shape="circle" xlabel="main_BB16" label=""]; main_BB17 [shape="circle" xlabel="main_BB17" label=""]; main_BB18 [shape="circle" xlabel="main_BB18" label=""]; main_BB19 [shape="circle" xlabel="main_BB19" label=""]; main_BB2 [shape="circle" xlabel="main_BB2" label=""]; main_BB20 [shape="circle" xlabel="main_BB20" label=""]; main_BB21 [shape="circle" xlabel="main_BB21" label=""]; main_BB22 [shape="circle" xlabel="main_BB22" label=""]; main_BB3 [shape="circle" xlabel="main_BB3" label=""]; main_BB4 [shape="circle" xlabel="main_BB4" label=""]; main_BB5 [shape="circle" xlabel="main_BB5" label=""]; main_BB6 [shape="circle" xlabel="main_BB6" label=""]; main_BB7 [shape="circle" xlabel="main_BB7" label=""]; main_BB8 [shape="circle" xlabel="main_BB8" label=""]; main_BB9 [shape="circle" xlabel="main_BB9" label=""]; main__closure_0__BB1 [shape="circle" xlabel="main__closure_0__BB1" label=""]; main__closure_0__BB2 [shape="circle" xlabel="main__closure_0__BB2" label=""]; main__closure_0__BB3 [shape="circle" xlabel="main__closure_0__BB3" label=""]; main__closure_0__BB4 [shape="circle" xlabel="main__closure_0__BB4" label=""]; main__closure_0__BB5 [shape="circle" xlabel="main__closure_0__BB5" label=""]; main__closure_0__BB6 [shape="circle" xlabel="main__closure_0__BB6" label=""]; main__closure_0__BB7 [shape="circle" xlabel="main__closure_0__BB7" label=""]; main__closure_0__BB8 [shape="circle" xlabel="main__closure_0__BB8" label=""]; main__closure_0__BB9 [shape="circle" xlabel="main__closure_0__BB9" label=""]; CONDVAR_0_LOST_SIGNAL [shape="box" xlabel="" label="CONDVAR_0_LOST_SIGNAL"]; CONDVAR_0_NOTIFY_RECEIVED [shape="box" xlabel="" label="CONDVAR_0_NOTIFY_RECEIVED"]; CONDVAR_0_WAIT_SKIP [shape="box" xlabel="" label="CONDVAR_0_WAIT_SKIP"]; CONDVAR_0_WAIT_START [shape="box" xlabel="" label="CONDVAR_0_WAIT_START"]; main_DROP_13 [shape="box" xlabel="" label="main_DROP_13"]; main_DROP_15 [shape="box" xlabel="" label="main_DROP_15"]; main_DROP_17 [shape="box" xlabel="" label="main_DROP_17"]; main_DROP_19 [shape="box" xlabel="" label="main_DROP_19"]; main_DROP_21 [shape="box" xlabel="" label="main_DROP_21"]; main_DROP_UNWIND_13 [shape="box" xlabel="" label="main_DROP_UNWIND_13"]; main_RETURN [shape="box" xlabel="" label="main_RETURN"]; main_SWITCH_INT_FROM_BB18_TO_BB17 [shape="box" xlabel="" label="main_SWITCH_INT_FROM_BB18_TO_BB17"]; main_SWITCH_INT_FROM_BB18_TO_BB20 [shape="box" xlabel="" label="main_SWITCH_INT_FROM_BB18_TO_BB20"]; main_SWITCH_INT_FROM_BB20_TO_BB15 [shape="box" xlabel="" label="main_SWITCH_INT_FROM_BB20_TO_BB15"]; main_SWITCH_INT_FROM_BB20_TO_BB19 [shape="box" xlabel="" label="main_SWITCH_INT_FROM_BB20_TO_BB19"]; main_SWITCH_INT_FROM_BB22_TO_BB16 [shape="box" xlabel="" label="main_SWITCH_INT_FROM_BB22_TO_BB16"]; main_SWITCH_INT_FROM_BB22_TO_BB21 [shape="box" xlabel="" label="main_SWITCH_INT_FROM_BB22_TO_BB21"]; main_UNWIND_16 [shape="box" xlabel="" label="main_UNWIND_16"]; main__closure_0__DROP_5 [shape="box" xlabel="" label="main__closure_0__DROP_5"]; main__closure_0__DROP_6 [shape="box" xlabel="" label="main__closure_0__DROP_6"]; main__closure_0__DROP_8 [shape="box" xlabel="" label="main__closure_0__DROP_8"]; main__closure_0__DROP_UNWIND_5 [shape="box" xlabel="" label="main__closure_0__DROP_UNWIND_5"]; main__closure_0__RETURN [shape="box" xlabel="" label="main__closure_0__RETURN"]; main__closure_0__UNWIND_9 [shape="box" xlabel="" label="main__closure_0__UNWIND_9"]; std_clone_Clone_clone_0_CALL [shape="box" xlabel="" label="std_clone_Clone_clone_0_CALL"]; std_clone_Clone_clone_0_CALL_UNWIND [shape="box" xlabel="" label="std_clone_Clone_clone_0_CALL_UNWIND"]; std_mem_drop_0_CALL [shape="box" xlabel="" label="std_mem_drop_0_CALL"]; std_mem_drop_0_CALL_UNWIND [shape="box" xlabel="" label="std_mem_drop_0_CALL_UNWIND"]; std_ops_DerefMut_deref_mut_0_CALL [shape="box" xlabel="" label="std_ops_DerefMut_deref_mut_0_CALL"]; std_ops_Deref_deref_0_CALL [shape="box" xlabel="" label="std_ops_Deref_deref_0_CALL"]; std_ops_Deref_deref_1_CALL [shape="box" xlabel="" label="std_ops_Deref_deref_1_CALL"]; std_result_Result_unwrap_0_CALL [shape="box" xlabel="" label="std_result_Result_unwrap_0_CALL"]; std_result_Result_unwrap_1_CALL [shape="box" xlabel="" label="std_result_Result_unwrap_1_CALL"]; std_result_Result_unwrap_1_CALL_UNWIND [shape="box" xlabel="" label="std_result_Result_unwrap_1_CALL_UNWIND"]; std_result_Result_unwrap_2_CALL [shape="box" xlabel="" label="std_result_Result_unwrap_2_CALL"]; std_result_Result_unwrap_3_CALL [shape="box" xlabel="" label="std_result_Result_unwrap_3_CALL"]; std_sync_Arc_T_new_0_CALL [shape="box" xlabel="" label="std_sync_Arc_T_new_0_CALL"]; std_sync_Condvar_new_0_CALL [shape="box" xlabel="" label="std_sync_Condvar_new_0_CALL"]; std_sync_Condvar_notify_one_0_CALL [shape="box" xlabel="" label="std_sync_Condvar_notify_one_0_CALL"]; std_sync_Mutex_T_lock_0_CALL [shape="box" xlabel="" label="std_sync_Mutex_T_lock_0_CALL"]; std_sync_Mutex_T_lock_1_CALL [shape="box" xlabel="" label="std_sync_Mutex_T_lock_1_CALL"]; std_sync_Mutex_T_new_0_CALL [shape="box" xlabel="" label="std_sync_Mutex_T_new_0_CALL"]; std_thread_JoinHandle_T_join_0_CALL [shape="box" xlabel="" label="std_thread_JoinHandle_T_join_0_CALL"]; std_thread_spawn_0_CALL [shape="box" xlabel="" label="std_thread_spawn_0_CALL"]; std_thread_spawn_0_CALL_UNWIND [shape="box" xlabel="" label="std_thread_spawn_0_CALL_UNWIND"]; CONDVAR_0_NOTIFY -> CONDVAR_0_LOST_SIGNAL; CONDVAR_0_NOTIFY -> CONDVAR_0_NOTIFY_RECEIVED; CONDVAR_0_WAIT_ENABLED -> CONDVAR_0_LOST_SIGNAL; CONDVAR_0_WAIT_ENABLED -> CONDVAR_0_WAIT_START; MUTEX_0 -> CONDVAR_0_NOTIFY_RECEIVED; MUTEX_0 -> std_sync_Mutex_T_lock_0_CALL; MUTEX_0 -> std_sync_Mutex_T_lock_1_CALL; MUTEX_0_CONDITION_NOT_SET -> CONDVAR_0_WAIT_START; MUTEX_0_CONDITION_NOT_SET -> std_ops_DerefMut_deref_mut_0_CALL; MUTEX_0_CONDITION_SET -> CONDVAR_0_WAIT_SKIP; PROGRAM_START -> std_sync_Mutex_T_new_0_CALL; THREAD_0_END -> std_thread_JoinHandle_T_join_0_CALL; THREAD_0_START -> std_ops_Deref_deref_1_CALL; main_BB1 -> std_sync_Condvar_new_0_CALL; main_BB10 -> std_mem_drop_0_CALL; main_BB10 -> std_mem_drop_0_CALL_UNWIND; main_BB11 -> std_thread_JoinHandle_T_join_0_CALL; main_BB12 -> std_result_Result_unwrap_1_CALL; main_BB12 -> std_result_Result_unwrap_1_CALL_UNWIND; main_BB13 -> main_DROP_13; main_BB13 -> main_DROP_UNWIND_13; main_BB14 -> main_RETURN; main_BB15 -> main_DROP_15; main_BB16 -> main_UNWIND_16; main_BB17 -> main_DROP_17; main_BB18 -> main_SWITCH_INT_FROM_BB18_TO_BB17; main_BB18 -> main_SWITCH_INT_FROM_BB18_TO_BB20; main_BB19 -> main_DROP_19; main_BB2 -> std_sync_Arc_T_new_0_CALL; main_BB20 -> main_SWITCH_INT_FROM_BB20_TO_BB15; main_BB20 -> main_SWITCH_INT_FROM_BB20_TO_BB19; main_BB21 -> main_DROP_21; main_BB22 -> main_SWITCH_INT_FROM_BB22_TO_BB16; main_BB22 -> main_SWITCH_INT_FROM_BB22_TO_BB21; main_BB3 -> std_clone_Clone_clone_0_CALL; main_BB3 -> std_clone_Clone_clone_0_CALL_UNWIND; main_BB4 -> std_thread_spawn_0_CALL; main_BB4 -> std_thread_spawn_0_CALL_UNWIND; main_BB5 -> std_ops_Deref_deref_0_CALL; main_BB6 -> std_sync_Mutex_T_lock_0_CALL; main_BB7 -> std_result_Result_unwrap_0_CALL; main_BB8 -> std_ops_DerefMut_deref_mut_0_CALL; main_BB9 -> std_sync_Condvar_notify_one_0_CALL; main__closure_0__BB1 -> std_sync_Mutex_T_lock_1_CALL; main__closure_0__BB2 -> std_result_Result_unwrap_2_CALL; main__closure_0__BB3 -> CONDVAR_0_WAIT_SKIP; main__closure_0__BB3 -> CONDVAR_0_WAIT_START; main__closure_0__BB4 -> std_result_Result_unwrap_3_CALL; main__closure_0__BB5 -> main__closure_0__DROP_5; main__closure_0__BB5 -> main__closure_0__DROP_UNWIND_5; main__closure_0__BB6 -> main__closure_0__DROP_6; main__closure_0__BB7 -> main__closure_0__RETURN; main__closure_0__BB8 -> main__closure_0__DROP_8; main__closure_0__BB9 -> main__closure_0__UNWIND_9; CONDVAR_0_LOST_SIGNAL -> CONDVAR_0_WAIT_ENABLED; CONDVAR_0_NOTIFY_RECEIVED -> CONDVAR_0_WAIT_ENABLED; CONDVAR_0_NOTIFY_RECEIVED -> main__closure_0__BB4; CONDVAR_0_WAIT_SKIP -> MUTEX_0_CONDITION_SET; CONDVAR_0_WAIT_SKIP -> main__closure_0__BB4; CONDVAR_0_WAIT_START -> MUTEX_0; CONDVAR_0_WAIT_START -> MUTEX_0_CONDITION_NOT_SET; main_DROP_13 -> main_BB14; main_DROP_15 -> main_BB22; main_DROP_17 -> MUTEX_0; main_DROP_17 -> main_BB20; main_DROP_19 -> main_BB15; main_DROP_21 -> main_BB16; main_DROP_UNWIND_13 -> main_BB22; main_RETURN -> PROGRAM_END; main_SWITCH_INT_FROM_BB18_TO_BB17 -> main_BB17; main_SWITCH_INT_FROM_BB18_TO_BB20 -> main_BB20; main_SWITCH_INT_FROM_BB20_TO_BB15 -> main_BB15; main_SWITCH_INT_FROM_BB20_TO_BB19 -> main_BB19; main_SWITCH_INT_FROM_BB22_TO_BB16 -> main_BB16; main_SWITCH_INT_FROM_BB22_TO_BB21 -> main_BB21; main_UNWIND_16 -> PROGRAM_PANIC; main__closure_0__DROP_5 -> MUTEX_0; main__closure_0__DROP_5 -> main__closure_0__BB6; main__closure_0__DROP_6 -> main__closure_0__BB7; main__closure_0__DROP_8 -> main__closure_0__BB9; main__closure_0__DROP_UNWIND_5 -> MUTEX_0; main__closure_0__DROP_UNWIND_5 -> main__closure_0__BB8; main__closure_0__RETURN -> THREAD_0_END; main__closure_0__UNWIND_9 -> THREAD_0_END; std_clone_Clone_clone_0_CALL -> main_BB4; std_clone_Clone_clone_0_CALL_UNWIND -> main_BB22; std_mem_drop_0_CALL -> MUTEX_0; std_mem_drop_0_CALL -> main_BB11; std_mem_drop_0_CALL_UNWIND -> MUTEX_0; std_mem_drop_0_CALL_UNWIND -> main_BB18; std_ops_DerefMut_deref_mut_0_CALL -> MUTEX_0_CONDITION_SET; std_ops_DerefMut_deref_mut_0_CALL -> main_BB9; std_ops_Deref_deref_0_CALL -> main_BB6; std_ops_Deref_deref_1_CALL -> main__closure_0__BB1; std_result_Result_unwrap_0_CALL -> main_BB8; std_result_Result_unwrap_1_CALL -> main_BB13; std_result_Result_unwrap_1_CALL_UNWIND -> main_BB18; std_result_Result_unwrap_2_CALL -> main__closure_0__BB3; std_result_Result_unwrap_3_CALL -> main__closure_0__BB5; std_sync_Arc_T_new_0_CALL -> main_BB3; std_sync_Condvar_new_0_CALL -> main_BB2; std_sync_Condvar_notify_one_0_CALL -> CONDVAR_0_NOTIFY; std_sync_Condvar_notify_one_0_CALL -> main_BB10; std_sync_Mutex_T_lock_0_CALL -> main_BB7; std_sync_Mutex_T_lock_1_CALL -> main__closure_0__BB2; std_sync_Mutex_T_new_0_CALL -> main_BB1; std_thread_JoinHandle_T_join_0_CALL -> main_BB12; std_thread_spawn_0_CALL -> THREAD_0_START; std_thread_spawn_0_CALL -> main_BB5; std_thread_spawn_0_CALL_UNWIND -> main_BB15; }