[an error occurred while processing this directive]

Why does pthread_create return the error code 22?

Using Posix threads under AIX requires a special C runtime startup
initialization as well as special versions of some libraries. The IBM C
compiler includes these special libraries if called by the name xlc_r
(or xlC_r for C++). There also other maing variations to support various
defaults, consult the file /etc/xlC.cf for details.

[an error occurred while processing this directive]