On Sat, May 4, 2013 at 4:56 AM, Jeff Darcy <jdarcy@xxxxxxxxxx> wrote:
Is there any reasonable way to get such listings for *all* synctasks?
That would probably be pretty handy.
The list head of all waiting synctasks can reached at ((struct syncenv *)THIS->ctx->env)->waitq. And the list of all synctasks in the run queue at ((struct syncenv *)THIS->ctx->env)->runq. The synctasks currently executing (not just enqueued in runq) will anyways be accessible in the native pthread of syncproc itself.
Avati