[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
General Programming Concepts: Writing and Debugging Programs

Trace Hook IDs: 230 through 233

The following trace hook IDs are stored in the /usr/include/sys/trchkid.h file.

230: HKWD PTHREAD MUTEX LOCK

This event is recorded by the pthread_mutex_lock subroutine.

Recorded Data

pthread_mutex_lock lock_addr=address lock=status lock owner=owner
address Address of the mutex lock
status Possible values:

REQUESTED

IRST GOT

GOT

GOT after thread_tsleep

NOT GOTowner

User thread ID of the mutex lock.

231: HKWD PTHREAD MUTEX UNLOCK

This event is recorded by the pthread_mutex_unlock subroutine.

Recorded Data

pthread_mutex_unlock lock_addr=address lock owner=owner
address Address of the mutex lock
owner User thread ID of the mutex lock.

232: HKWD PTHREAD SPIN LOCK

This event is recorded by the pthread_spin_lock internal subroutine.

Recorded Data

pthread_spin_lock lock_addr=address lock=status
address Address of the mutex lock
status Possible values:

REQUESTED

FIRST GOT

GOT after thread_tsleep

NOT GOT

233: HKWD PTHREAD SPIN UNLOCK

This event is recorded by the pthread_spin_unlock internal subroutine.

Recorded Data

pthread_spin_unlock lock_addr=address
address Address of the mutex lock

[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]