A.2 Other Recognized APIs
The following sections detail the threading APIs which the Thread Analyzer recognizes.
A.2.1 POSIX Thread APIs
See the Multithreaded Programming Guide in the Oracle Solaris documentation for more information about these
APIs.
pthread_mutex_lock() |
pthread_mutex_trylock() |
pthread_mutex_unlock() |
pthread_rwlock_rdlock() |
pthread_rwlock_tryrdlock() |
pthread_rwlock_wrlock() |
pthread_rwlock_trywrlock() |
pthread_rwlock_unlock() |
pthread_create() |
pthread_join() |
pthread_cond_signal() |
pthread_cond_broadcast() |
pthread_cond_wait() |
pthread_cond_timedwait() |
pthread_cond_reltimedwait_np() |
pthread_barrier_init() |
pthread_barrier_wait() |
pthread_spin_lock() |
pthread_spin_unlock() |
pthread_spin_trylock() |
pthread_mutex_timedlock() |
pthread_mutex_reltimedlock_np() |
pthread_rwlock_timedrdlock() |
pthread_rwlock_reltimedrdlock_np() |
pthread_rwlock_timedwrlock() |
pthread_rwlock_reltimedwrlock_np() |
sem_post() |
sem_wait() |
sem_trywait() |
sem_timedwait() |
sem_reltimedwait_np() |
|
A.2.2 Solaris Thread APIs
See the Multithreaded Programming Guide in the Oracle Solaris documentation for more information about these
APIs.
mutex_lock() |
mutex_trylock() |
mutex_unlock() |
rw_rdlock() |
rw_tryrdlock() |
rw_wrlock() |
rw_trywrlock() |
rw_unlock() |
thr_create() |
thr_join() |
cond_signal() |
cond_broadcast() |
cond_wait() |
cond_timedwait() |
cond_reltimedwait() |
sema_post() |
sema_wait() |
sema_trywait() |
|
A.2.3 Memory-Allocation APIs
calloc() |
malloc() |
realloc() |
valloc() |
memalign() |
|
See the malloc(3C) man page for information about the memory allocation APIs.
A.2.4 Memory Operations APIs
memcpy() |
memmove() |
memchr() |
memcmp() |
memset() |
|
See the memcpy(3C) man page for information about the memory operations APIs.
A.2.5 String Operations APIs
strcat() |
strncat() |
strlcat() |
strcasecmp() |
strncasecmp() |
strchr() |
strrchr() |
strcmp() |
strncmp() |
strcpy() |
strncpy() |
strlcpy() |
strcspn() |
strspn() |
strdup() |
strlen() |
strpbrk() |
strstr() |
strtok() |
|
See the strcat(3C) man page for information about the string operations APIs.
A.2.6 OpenMP APIs
The Thread Analyzer recognizes OpenMP synchronizations, such as barriers, locks, critical regions, atomic
regions, and taskwait.
See the Oracle Solaris Studio 12.3: OpenMP API User’s Guide for more information.