[nanomsg] Re: Testing on QNX 6.5.0

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Fri, 09 May 2014 12:17:20 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/05/14 11:41, Martin Sustrik wrote:

> Is there anything special about QNX mutexes? Are they created in a 
> locked state or something like that?

Actually, it's pthread_mutex_init() failing with EBUSY -- i.e. it
claims that we are ri-initialising an open mutex.

The best way to debug that would be to print out mutex's address in
both nn_mutex_init() and nn_mutex_term() and then run one of the
failing tests.

We can then check whether nanomsg is actually trying to re-initialise
an open mutex or whether it is just some QNX quirk.

Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTbKswAAoJENTpVjxCNN9YL3sH/jlXH1UYE9aPnWqyJ6hlNPzv
2uRuS/VNzUgldAS3uIIHk8P6cBYCXdiSXpI34JLrpvbfAY4KsKBK6bB9CVF4RTaY
XL2XLhAJ6ZipKHZ/nD1HZDZJS4GKy02aDRaX0VYQPdNSFNR4hEUYEfZjzUBBlTxx
BrONnHzTkgB+QsCt7zLck+S44OKxd4IKWcMpMk9PrFd2yKsPh7cKpHhcIGgly1as
71VV/Vd752tzUkMB3T0/6cmj+rNKOQy09mY6ENylCNyKsJj8hmsIcc1RZaIjh+bH
VaFUn8lArbg9fvNrAD1YI0dR71ZL902RZSRe8f18lUtpaPPbIhH9hJctqtj41WM=
=FOBF
-----END PGP SIGNATURE-----

Other related posts: