|
> How can I make the connection between mutexes, condition variables, and
> thread handles as they appear in the debugger and all of these in my
> application? If I examine a mutex and then use the CMA debugger to
> list out mutexes, is there an easy way to match these up?
>
mcc mutex handle = cma mutex handle
mcc condition variable handle = cma condition variable handle
As I replied earlier, the mcc thread id not-equal to cma thread handle-
partly because of historical reasons, partly because MCC needs
extra data structure anyway.
There are some undocumented routines in the mcc kernel which
you can invoke from the debbuger to dump info about mcc threads
mcc_thread_directory()
prints a table of mcc threads and attribute values,
including the mcc thread id and the cma handle low order
longword which is the %task value
fw_thread_show(fw_t_tsv *p_tsv)
prints all the attributes for a particular thread
> What about %TASK IDs and actual threads? Is there an easy way to
> figure out what task corresponds to a thread?
>
> A mapping from MCC thread objects to CMA thread objects would probably
> be sufficient for me to proceed. Thanks.
>
>
|