[Chicago-talk] threading Question
packet
fasteliteprogrammer at gmail.com
Wed Jan 27 20:43:31 PST 2010
Steven Lembark wrote:
> On Mon, 25 Jan 2010 10:47:12 -0600
> packet <fasteliteprogrammer at gmail.com> wrote:
>
>
>> Does it matter if you have 1 cpu or 4 cpu for programming threads in
>> perl and why?
>>
>>
>> I got 1 cpu on the laptop and 4 cpu on my desktop.Just want to know this
>> been bugging me for abit.:)
>>
>
> Theading with a single CPU is occasionally
> useful, mainly if you can use up more of a
> timeslice before blocking, say on a some
> scheduled I/O.
>
> Aside from that, threading on a single CPU
> doesn't really add much -- aside from headaches
> and slowdowns from synch-ing the threads.
>
>
So your saying i won't have a prob programming on one cpu.And i want to
know what i can do in perl with a one cpu.I don't want to slow down my
compile time.
I just new to perl.:)
More information about the Chicago-talk
mailing list