-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Multithreading for Alarms & Conditions #4556
Comments
I can also trigger the locking asserts in the following scenario:
There are several places in the code where a function calls UA_UNLOCK() before calling some other function and then calls UA_LOCK() again after this function has returned. My guess is that the second thread could use one of these situations to sneak a lock in. |
The problem in ActivateSession is fixed in #4609. |
Adjusted the title as a reminder that A&C Multithreading is not yet done, |
ConditionRefresh is good in master branch version. but confirm alarm、acknowledge alarm、 add comment still not ok |
When I attempt to trigger an event from inside activateSession(), the application is terminated due to the assertion in the UA_LOCK macro. The counter variable is already 1 at that point because UA_LOCK was already called in processMSGDecoded().
As the call is coming from the thread already holding the lock, shouldn't it be legal to acquire the lock again?
Please provide the following information:
UA_LOGLEVEL
set as low as necessary) attachedThe text was updated successfully, but these errors were encountered: