Add some possibly-useful markers for debugging threads from coredumps.