>> > Is there any good option for debugging a multithreaded program? >> >> By defenition there isn't. Anything you do will affect the timing of >> your program. If you want debugability, avoid threads. > >Race-free parallel programming is an active area of research. I can't >accept your definition because I have a counterexample. But you have >answered my original question and told me what to expect from OpenBSD.
Wow. What hostility. There's research and there is the real world. Typically when people are trying to debug, it is because they are in the real world, where the code is most positively not following any of that research.