Just to make sure it hasn't been overlooked, I'd like to inject a (possibly)
useful comment into this thread on threads.

This whole discussion seems to be based on the assumption that communication
between threads requires some form of shared data, and everyone is trying
to figure out how to make data sharing safe and what perl should do and what
users should do.

Just as an alternative (at least to think about for 30 seconds and say
"Nah!"),
has anyone considered a message passing thread communication model? It
obviously isn't as flexible as shared data, but it sure is simpler to
implement in a "safe" fashion (it seems like it should be, anyway).

Just tossing it out for discussion - not necessarily advocating it as
the way to go.

Reply via email to