Question about Python threads
Aahz
aahz at pythoncraft.com
Wed Aug 21 23:25:44 EDT 2002
In article <wNW89.72956$Pb.3188993 at news2.east.cox.net>,
Stuart D. Gathman <stuart at bmsi.com> wrote:
>On Wed, 21 Aug 2002 14:18:38 -0400, Mr. Neutron wrote:
>>
>> How does this problem imply to Java as well?
>
>Java threads are mapped to real OS threads (not necessarily one to one).
>Java has no trouble taking advantage of multiple CPUs.
AFAIK, that's usually true, but not necessarily; Java requires the
availability of threads even if the underlying OS doesn't support it
(which is why porting Java can be a bit of a pain).
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Project Vote Smart: http://www.vote-smart.org/
More information about the Python-list
mailing list