We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 170e545 commit 10e71c9Copy full SHA for 10e71c9
src/common/pg_rsocket.c
@@ -101,12 +101,12 @@ static pthread_mutex_t rsocket_init_mutex = PTHREAD_MUTEX_INITIALIZER;
101
void
102
initialize_rsocket(void)
103
{
104
- pthread_mutex_lock(rsocket_init_mutex);
+ pthread_mutex_lock(&rsocket_init_mutex);
105
106
/* librdmacm was loaded already */
107
if (rdmacm_handle != NULL)
108
109
- pthread_mutex_unlock(rsocket_init_mutex);
+ pthread_mutex_unlock(&rsocket_init_mutex);
110
return;
111
}
112
@@ -169,7 +169,7 @@ initialize_rsocket(void)
169
rcalls->fcntl = get_function("rfcntl");
170
#endif
171
172
173
174
175
#endif /* WITH_RSOCKET */
0 commit comments