Mike Percy has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/10473


Change subject: WIP: KUDU-2450. Retry on EAGAIN on create / destroy mutex
......................................................................

WIP: KUDU-2450. Retry on EAGAIN on create / destroy mutex

This patch adds a hot retry loop when EAGAIN is returned from the
pthread_mutex_init() and pthread_mutex_destroy() calls.

This patch is marked WIP because I am not sure if a hot loop is
appropriate or not, or in what cases a caller can get such an error
code.

Change-Id: Idb865c2e31d83eb7897f44ac414c23baaa7cbed5
---
M src/kudu/util/mutex.cc
1 file changed, 12 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/73/10473/1
--
To view, visit http://gerrit.cloudera.org:8080/10473
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idb865c2e31d83eb7897f44ac414c23baaa7cbed5
Gerrit-Change-Number: 10473
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Percy <[email protected]>

Reply via email to