summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-12-10 08:56:42 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-12-10 08:56:42 +0000
commit57c44ae229a9035cd91654011e131e1a2dd7d88f (patch)
treef6915e7e48d20a78cfd3923f2945f30a8bbfbff9 /include
parent96486f3570391485aa7ca0e004809caf05a5ddb0 (diff)
downloadlibapr-57c44ae229a9035cd91654011e131e1a2dd7d88f.tar.gz
IIUC, users expect APR_EAGAIN() to respond TRUE if a lock has contention
calling apr_file_lock() with APR_FLOCK_NONBLOCK. In that case, we need to include this in our APR_EAGAIN() case list. I suspect OS2 may want the same. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64135 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr_errno.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apr_errno.h b/include/apr_errno.h
index ed3fe0540..874f9a507 100644
--- a/include/apr_errno.h
+++ b/include/apr_errno.h
@@ -1014,6 +1014,7 @@ APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf,
|| (s) == APR_OS_START_SYSERR + ERROR_NO_PROC_SLOTS \
|| (s) == APR_OS_START_SYSERR + ERROR_NESTING_NOT_ALLOWED \
|| (s) == APR_OS_START_SYSERR + ERROR_MAX_THRDS_REACHED \
+ || (s) == APR_OS_START_SYSERR + ERROR_LOCK_VIOLATION \
|| (s) == APR_OS_START_SYSERR + WSAEWOULDBLOCK)
#define APR_STATUS_IS_EINTR(s) ((s) == APR_EINTR \
|| (s) == APR_OS_START_SYSERR + WSAEINTR)