in reply to Re^2: shared scalar freed early
in thread shared scalar freed early
I tried making the threads persistent and read data from a queue, but that was MUCH slower.
Sounds to me like you are doing something very strange. Creating a Perl "thread" is rather expensive. Much more expensive than pulling an item from a queue. Usually much, much more expensive.
- tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: shared scalar freed early (queue)
by chris212 (Scribe) on Feb 23, 2017 at 03:16 UTC | |
by tye (Sage) on Feb 24, 2017 at 04:53 UTC | |
by chris212 (Scribe) on Feb 24, 2017 at 15:40 UTC | |
by tye (Sage) on Feb 24, 2017 at 19:10 UTC | |
by chris212 (Scribe) on Feb 24, 2017 at 19:33 UTC | |
|
In Section
Seekers of Perl Wisdom