svcadm(1M)을 검색하려면 섹션에서 1M 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
thr_setconcurrency(3c)
Standard C Library Functions thr_getconcurrency(3C)
NAME
thr_getconcurrency, thr_setconcurrency - get or set thread concurrency
level
SYNOPSIS
#include <thread.h>
int thr_setconcurrency(int new_level);
int thr_getconcurrency(void);
DESCRIPTION
These functions are obsolete and maintained for compatibility only. The
thr_setconcurrency() function updates the desired concurrency level for
the calling process. This value does not affect the behavior of the
calling process.
The thr_getconcurrency() function returns the current value for the
desired concurrency level.
RETURN VALUES
The thr_getconcurrency() function always returns the current value for
the desired concurrency level.
If successful, the thr_setconcurrency() function returns 0. Otherwise,
a non-zero value is returned to indicate the error.
ERRORS
The thr_setconcurrency() function will fail if:
EAGAIN The specified concurrency level would cause a system resource
to be exceeded.
EINVAL The value for new_level is negative.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ MT-LevelMT-Safe
SEE ALSO
thr_create(3C), attributes(7), standards(7)
Oracle Solaris 11.4 15 May 2014 thr_getconcurrency(3C)