apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: apr_file_gets()/apr_file_read() locking problem
Date Thu, 22 Mar 2007 02:34:39 GMT
On Thu, 2007-03-22 at 13:24 +1100, Bojan Smojver wrote:

> It happened because I passed in (incorrectly) APR_OS_DEFAULT instead of
> zero. Nevertheless, I think we may still have a problem with this
> locking business.

Yep, definitely locks up with these flags specified to
apr_file_mktemp():

APR_CREATE | APR_READ | APR_WRITE | APR_EXCL | APR_DELONCLOSE |
APR_XTHREAD | APR_BUFFERED

-- 
Bojan


Mime
View raw message