Rick Gutleber wrote:
> I was getting a compilation error concerning usleep( ) in one of the example
That's probably examples/multiquery.cpp, which had debugging code
accidentally checked in. It's been removed from svn.
> one of the examples did not build because of the sleep(
> ) function.
sleep() is POSIX. What platform are you on that doesn't have this,
which is also not Windows? (We use Sleep() there.)
> nanosleep( ) function
Shouldn't be necessary now. We only use sleep() and Sleep(). If your
platform has neither, we can talk about making an ifdef case to
implement sleep() in terms of nanosleep(), but I think you'll find that
you really do have sleep(). Perhaps the examples just don't include a
necessary header for your platform.