Skip to content

Commit

Permalink
Fix to call init_shutdown_mutex() not directly calling the mutex.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakio815 committed Mar 5, 2025
1 parent 952e65f commit 266587e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ private String generateCodeToInitializeFederate(
"// Initialize the socket mutexes",
"lf_mutex_init(&lf_outbound_socket_mutex);",
"lf_mutex_init(&lf_inbound_socket_mutex);",
"lf_mutex_init(&shutdown_mutex);",
"init_shutdown_mutex();",
"lf_cond_init(&lf_port_status_changed, &env->mutex);"));

// Find the STA (A.K.A. the global STP offset) for this federate.
Expand Down

0 comments on commit 266587e

Please sign in to comment.