Skip to content

Commit

Permalink
jclklib: Remove rtpi mutex usage
Browse files Browse the repository at this point in the history
Signed-off-by: Lai Peter Jun Ann <[email protected]>
  • Loading branch information
Lai Peter Jun Ann authored and yoongsiang2 committed Aug 26, 2024
1 parent a0ff7d0 commit 8f74ba2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion jclklib/client/connect_msg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ PROCESS_MESSAGE_TYPE(ClientConnectMessage::processMessage)
PrintDebug("Current state.sessionId: " +
to_string(currentClientState->get_sessionId()));
this->set_msgAck(ACK_NONE);
lock.unlock();
cv.notify_one(lock);
return true;
}
1 change: 0 additions & 1 deletion jclklib/client/subscribe_msg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ PROCESS_MESSAGE_TYPE(ClientSubscribeMessage::processMessage)
ClientNotificationMessage::addClientState(currentClientState);
this->set_msgAck(ACK_NONE);
jcl_state jclCurrentState = currentClientState->get_eventState();
lock.unlock();
cv.notify_one(lock);
return true;
}
Expand Down

0 comments on commit 8f74ba2

Please sign in to comment.