[ale] What to use

Christopher Fowler cfowler at outpostsentinel.com
Wed Apr 23 10:35:16 EDT 2003


On Wed, 2003-04-23 at 10:26, Fletch wrote:
> >>>>> "Christopher" == Christopher Fowler <cfowler at outpostsentinel.com> writes:
> 
>     Christopher> I'm assuming threads are not supported?
> 
> The 5.8.0 that RH8 and on ships with has threads enabled.
> 
> 
> However the thing to remember is that threads are still kinda crufty
> in perl.  Conventional wisdom is that if you're convinced you have to
> use them use 5.8.0 and ithreads (which is the new model
> interpreter-per-thread version which replaces the old 5.005_03
> multiple threads in the same interpreter model).  Of course then
> there's also the old school wisdom which says you don't really want
> threads, you should just use fork() and select() like was intended. :)

Then I have to place data into Shared Memory.

I have one large array of hashes '@units'  That would have
to be in shared memory to use the fork model.  


> 
> 
> Or look into POE (http://poe.perl.org/) which gives you
> an event loop to use instead of threads (not to mention there's work
> going on to take advantage of true thread support once it's ready for
> prime time).
> 
> 
> -- 
> Fletch                | "If you find my answers frightening,       __`'/|
> fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
> 770 294-0820 (m)      |  scary questions." -- Jules                =(___)=
>                       |                                               U
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list