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:
Olga Kornievskaia 2011-09-30 12:41:54 -04:00
parent 96e334be8c
commit c90811be75
2 changed files with 3 additions and 3 deletions

View file

@ -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);