You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to confirm is semaphore lock/unlock is required in dlt_initialize_socket_connection() function.
In our production environment, multiple apps are started at the boot time which are using DLT logs. And at this time dlt-daemon is not running, it is started after sometime ~20sec since boot. So, multiple threads are calling dlt_initialize_socket_connection() function and acquire the lock. And other threads are waiting to enter in to critical section.
Because of this waiting time, we are experiencing delay within our apps.
So, we are thinking to remove the semaphore lock in dlt_initialize_socket_connection() function if it is not necessary.
Could you please let us know the impact if we remove the semaphore lock in dlt_initialize_socket_connection()?
It would be great if you can share your feedback.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello Team,
I wanted to confirm is semaphore lock/unlock is required in dlt_initialize_socket_connection() function.
In our production environment, multiple apps are started at the boot time which are using DLT logs. And at this time dlt-daemon is not running, it is started after sometime ~20sec since boot. So, multiple threads are calling dlt_initialize_socket_connection() function and acquire the lock. And other threads are waiting to enter in to critical section.
Because of this waiting time, we are experiencing delay within our apps.
So, we are thinking to remove the semaphore lock in dlt_initialize_socket_connection() function if it is not necessary.
Could you please let us know the impact if we remove the semaphore lock in dlt_initialize_socket_connection()?
It would be great if you can share your feedback.
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions