Fix some threads related problems [quagga-dev 591].
2 files changed