The readwritelock subcommand displays a list of active read/write lock objects for the application program. All active read/write lock objects are listed unless you use the number parameter to specify the read/write lock objects you want listed. You can also select only locked or unlocked read/write locks, or read/write locks with or without holders, by using the lock, unlock, holder, or noholder options.
#pragma runopts(TEST(ALL))
Or:
Or:
export _CEE_RUNOPTS="test(all)"
The readwritelock subcommand can be run only while the dbx debug program is running.
readwritelock
readwritelock 1 4
readwritelock lock
readwritelock unlock
readwritelock holder
mutex noholders