Re: repository too slow suddenly
From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2003-08-14 22:55:41 CEST
On Thu, Aug 14, 2003 at 01:52:14PM -0400, mark benedetto king wrote:
Sorry to follow up to my own post, but here it is in apr:
For normal opens:
apr_file_t *file;
status = apr_file_open(&file, lockfile, APR_READ | APR_WRITE,
/* note: we could remove the nonblock here and simply block until
And for recover:
status = apr_file_open(&file, lockfile, APR_READ | APR_WRITE,
status = apr_file_lock(file, APR_FLOCK_NONBLOCK);
--ben
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.