|
|
Source code that uses Threads Library functions should include the following line:
#include <thread.h>and should be compiled with the following command line options:
The -Kthread flag is needed for an application to be thread-safe, and to access reentrant routines in standard libraries (see below).
Source code that uses the synchronization routines in the Threads Library should include the following line:
#include <synch.h>