C API on Solaris: threads or pthreads?

Hi all

I’m looking to clear up the fog created by Lotus documentation: While the API User’s Guide states that Solaris code should be linked with the threads library (and thus use Solaris threads) the example supplied with the API uses POSIX threads. And, to further the evidence, I found some symbols out of pthread in NSDs. So the million dollar question is:

What does work: POSIX threads or Solaris threads only?

Thank you very much for your feedback.

P.

Subject: C API on Solaris: threads or pthreads?

since it’s documented as a must for solaris i’d really link your application to solaris threads.

they even suggest a workaround if you encounter crashes when your application is linked to pthread lib.

even if both approaches would work and/or domino internally uses posix threads i’d stick to what is documented in user-guide.

if you have any other solaris application available (third party) you could have a look here what they are using.

Markus Seitz

markus.seitz@icodex.com