Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sqlite build flags: missing usleep support

On Fri, Jun 01, 2012 at 12:29:01PM +0200, Thomas Klausner wrote:
> Hi!
> Due to I noted
> that sqlite3 in NetBSD base doesn't have usleep support, which makes
> its backoff algorithm during lock contention back off in whole seconds
> instead of microseconds. Which is bad, obviously.
> I checked and found the following flags which would be set by
> sqlite3's configure automatically and have corresponding ifdefs in the
> sqlite3 source:
> Only two of them, -DHAVE_READLINE=1 -DHAVE_LOCALTIME_R are set by
> src/external/public-domain/sqlite/
> I'd like to add all the other ones. Comments?

Most of them *are* already enabled. Other than usleep being obsoleted by
nanosleep, I don't really mind.


Home | Main Index | Thread Index | Old Index