01-05-04 12.22, skrev Horsley Tom p� [EMAIL PROTECTED] f�ljande:
> 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.
>
This will (is) supported in the current version. But one of the main benfits
of threading for me is the ability to share cached data between threads
without having the overhead of Storable and friends. That is not possible
with only message passing.
Artur