trengri commented on a change in pull request #273:
URL: https://github.com/apache/guacamole-server/pull/273#discussion_r442112254
##########
File path: src/protocols/rdp/client.c
##########
@@ -155,6 +157,12 @@ int guac_client_init(guac_client* client, int argc, char**
argv) {
pthread_mutexattr_settype(&(rdp_client->attributes),
PTHREAD_MUTEX_RECURSIVE);
+ /* Initalize the lock */
+ pthread_rwlockattr_init(&lock_attributes);
+ pthread_rwlockattr_setpshared(&lock_attributes, PTHREAD_PROCESS_SHARED);
Review comment:
You are right. Removed lock attributes altogether.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]