Programs that use the Pthread functions must include one or more header files that contain information that the functions need. Header files include the following:
The header files are provided in the QSYSINC library which can be installed as an option. Make sure QSYSINC is on your system before compiling programs that use these header files.
Name of Header File | Name of File in QSYSINC | Name of Member |
---|---|---|
pthread.h | H | PTHREAD |
sched.h | H | SCHED |
You can display a header file in QSYSINC by using one of the following methods:
STRSEU SRCFILE(QSYSINC/H) SRCMBR(PTHREAD) OPTION(5)
DSPPFM FILE(QSYSINC/H) MBR(SCHED)
You can print a header file in QSYSINC by using one of the following methods:
STRSEU SRCFILE(QSYSINC/H) SRCMBR(PTHREAD) OPTION(6)
CPYF FROMFILE(QSYSINC/H) TOFILE(*PRINT) FROMMBR(SCHED)
Top | Pthread APIs | APIs by category |