Skip to contentSkip to conversation

strace -f pthread-app

DISCUSSION Paul Albrecht 1 participant 1 message May 22, 2003

lore
Share & tools
lore
#0 lore raw

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?