test: posix: headers: check for pthread_rwlockattr_getpshared()
Check for the existence of pthread_rwlockattr_getpshared() and pthread_rwlockattr_setpshared(). Signed-off-by: Gaetan Perrot <gaetanperrotpro@gmail.com>
This commit is contained in:
parent
9c0b8181f3
commit
aad1f6e47b
1 changed files with 2 additions and 2 deletions
|
@ -143,9 +143,9 @@ ZTEST(posix_headers, test_pthread_h)
|
|||
zassert_not_null(pthread_rwlock_unlock);
|
||||
zassert_not_null(pthread_rwlock_wrlock);
|
||||
zassert_not_null(pthread_rwlockattr_destroy);
|
||||
/* zassert_not_null(pthread_rwlockattr_getpshared); */ /* not implemented */
|
||||
zassert_not_null(pthread_rwlockattr_getpshared);
|
||||
zassert_not_null(pthread_rwlockattr_init);
|
||||
/* zassert_not_null(pthread_rwlockattr_setpshared); */ /* not implemented */
|
||||
zassert_not_null(pthread_rwlockattr_setpshared);
|
||||
zassert_not_null(pthread_self);
|
||||
zassert_not_null(pthread_setcancelstate);
|
||||
zassert_not_null(pthread_setcanceltype);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue