Passes a list of pthread_debug commands to DECthreads.
pthread_debug_cmd( cmd );
Argument Data Type Accesscmd character string read
#includepthreadDbgStatus_t pthread_debug_cmd ( char *cmd);
For a list of pthread_debug commands, see Appendix D.
The following are two examples of listing commands in a call to this routine:
pthread_debug_cmd("thread -b; mu -lq; cond -wq"); pthread_debug_cmd("att");
To invoke the DECthreads debugger for interactive commands, call pthread_debug.
Return Description0 Command successful [PTHREAD_DBG_QUIT] (1) Last command was
quit
orexit
[PTHREAD_DBG_NONESEL] (2) No objects selected (for example,thread -br
) [PTHREAD_DBG_SUCCESSPEND] Alternate success (3) [PTHREAD_DBG_NOPRIV] (-1) No privilege for command [PTHREAD_DBG_INVPARAM] (-2) Invalid parameter on command [PTHREAD_DBG_INVSEQ] (-3) Invalid object sequence number given [PTHREAD_DBG_INCONSTATE] Inconsistent state for operation (-4) [PTHREAD_DBG_CORRUPT] (-5) Unable to complete due to internal corruption [PTHREAD_DBG_INVOPTION] Invalid command options (-6) [PTHREAD_DBG_NOARG] (-7) Missing command argument [PTHREAD_DBG_INVADDR] (-8) Invalid address [PTHREAD_DBG_INVCMD] (-9) Invalid command [PTHREAD_DBG_NULLCMD] (-10) No command given [PTHREAD_DBG_CONFLICT] Conflicting options (-11) [PTHREAD_DBG_UNIMPL] (-12) Unimplemented feature
pthread_debug