Thanks! This will be in CVS shortly.
On 2 May 2005 at 13:56, Andreas Ericsson wrote:
> Ahoy.
>
> I've just noticed that Nagios doesn't define _REENTRANT or
> _THREAD_SAFE anywhere, although glibc and linuxthreads requires it to
> make functions thread safe. I'm not sure what difference it makes on
> some systems, but I've got a hunch it might mitigate the crash in
> service_result_worker_threads which seems to happen on SMP-enabled
> systems (where system calls can actually happen at the same time)
> using an older version of glibc (2.1.3) and its corresponding
> linuxthreads (also from 2000-something).
>
> Apply the patch with
> patch -p1 and please test this on other systems, as I'm not sure it works with
> Solaris and friends that have a history of broken system headers. BSD
> systems should have no problems with it.
>
> Cheers.
>
> --
> Andreas Ericsson [email protected]
> OP5 AB www.op5.se
> Lead Developer
>
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]