The software described in this documentation is either in Extended Support or Sustaining Support. See for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.

5.4 Thread Attributes

To list thread attributes on Oracle Linux, compile and run the C source program that is listed on the pthread_attr_init(3) manual page, for example:

$ gcc thread.c -pthread
$ ./a.out
Thread attributes:
	Detach state        = PTHREAD_CREATE_JOINABLE
	Scope               = PTHREAD_SCOPE_SYSTEM
	Inherit scheduler   = PTHREAD_INHERIT_SCHED
	Scheduling policy   = SCHED_OTHER
	Scheduling priority = 0
	Guard size          = 4096 bytes
	Stack address       = 0x7f8f06da6000
	Stack size          = 0x801000 bytes