Maybe an I/O layer should be required to explicitly declare itself thread-safe? (Or whatever thread-xxx term I mean here). Any layer not declared thread-safe should be removed when a new thread is created. (And now perl can print a warning, since it is doing something you might not like & might not realize is happening).
PG
