delorie.com/archives/browse.cgi | search |
--=-B31hAlejm8xmIYd5GSgu Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Gah! Confused myself but good. The pthread::create routine *is* a int returning static method. Sigh. Ok, from the top again.. pthread_create - won't error itself static pthread::create - will EAGAIN if pthread creation fails, and ONLY if pthread creation fails. This uses new pthread() and pthread->create (create params). and a check on object validity after the creation. So my prior email about the logic *is* correct, just not the bit about there being a mistake :]. So, you need to strace the api test to see what's failing. Rob --=-B31hAlejm8xmIYd5GSgu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA9lH1OI5+kQ8LJcoIRAt3aAJ0SvF4UPvLnmHjG58qcuc5KxFsPWgCfVH2N lQNMMPEwg12yqdGbTgVeEjY= =SpqU -----END PGP SIGNATURE----- --=-B31hAlejm8xmIYd5GSgu--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |