strace -f pthread-app

From: Paul Albrecht (palbrecht@uswest.net)
Date: Thu May 22 2003 - 12:55:04 EST


When I strace a pthreaded program with the follow fork option the threads
get serialized, e.g., if I start threads A and B in my program, thread A
gets interrupted and thread B runs uninterrupted to completion, then A
starts up again and runs to completion. Has any one else noticed this
behavior? Is there a way to strace -f a multithreaded program with
concurrency?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:49 EST