tests: posix: headers: check for pthread_getconcurrency()
Check for the existence of pthread_getconcurrency() and pthread_setconcurrency(). Signed-off-by: Christopher Friedt <cfriedt@meta.com>
This commit is contained in:
parent
e49ae776cc
commit
c0f2038c26
|
@ -104,7 +104,7 @@ ZTEST(posix_headers, test_pthread_h)
|
|||
zassert_not_null(pthread_detach);
|
||||
zassert_not_null(pthread_equal);
|
||||
zassert_not_null(pthread_exit);
|
||||
/* zassert_not_null(pthread_getconcurrency); */ /* not implemented */
|
||||
zassert_not_null(pthread_getconcurrency);
|
||||
/* zassert_not_null(pthread_getcpuclockid); */ /* not implemented */
|
||||
zassert_not_null(pthread_getschedparam);
|
||||
zassert_not_null(pthread_getspecific);
|
||||
|
@ -149,7 +149,7 @@ ZTEST(posix_headers, test_pthread_h)
|
|||
zassert_not_null(pthread_self);
|
||||
zassert_not_null(pthread_setcancelstate);
|
||||
zassert_not_null(pthread_setcanceltype);
|
||||
/* zassert_not_null(pthread_setconcurrency); */ /* not implemented */
|
||||
zassert_not_null(pthread_setconcurrency);
|
||||
zassert_not_null(pthread_setschedparam);
|
||||
/* zassert_not_null(pthread_setschedprio); */ /* not implemented */
|
||||
zassert_not_null(pthread_setspecific);
|
||||
|
|
Loading…
Reference in a new issue