(Answer) (Category) SCO comp.unix.sco.programmer FAQ. : (Category) SCO Development Environments. :
Why are there two threads APIs on UnixWare? Which should I use?
UnixWare 7 has two threads APIs: SVR4/UI threads and POSIX threads (sometimes also known as pthreads). Both are implemented in UnixWare's libthread threads library and associated system headers. The two have generally similar sets of functionality and generally can interoperate on UnixWare.

SVR4/UI was a Unix International (mostly Sun and AT&T/USL) effort at defining a threads API. It has calls of the form thr_create() et al. You will see this API used in some existing UnixWare and Solaris applications.

POSIX is a later, more standards-based threads API. It has calls of the form pthread_create() et. al. You will see this API used in most applications today across a broad range of platforms.

POSIX threads is definitely the API to use, unless you are working in an existing code base that already uses SVR4/UI threads.
jls@sco.com

[Append to This Answer]
Previous: (Answer) How do I do Java native code (JNI) programming?
Next: (Answer) How do I do XML programming?
This document is: http://www.zenez.com/cgi-bin/scoprogfaq/faq?file=121
[Search] [Appearance]
This is a Faq-O-Matic 2.721.