dont use named events or mutexs
in case of multiple sessions (in multiuser environment) we can't create event with the same name.
This commit is contained in:
parent
96e334be8c
commit
c90811be75
2 changed files with 3 additions and 3 deletions
|
|
@ -174,7 +174,7 @@ int nfs41_rpc_clnt_create(
|
|||
needcb = 0;
|
||||
#endif
|
||||
rpc->needcb = needcb;
|
||||
rpc->cond = CreateEvent(NULL, TRUE, FALSE, "rpc_recovery_cond");
|
||||
rpc->cond = CreateEvent(NULL, TRUE, FALSE, NULL);
|
||||
if (rpc->cond == NULL) {
|
||||
status = GetLastError();
|
||||
eprintf("CreateEvent failed %d\n", status);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue