C (208/257)

From:
Date:21 Feb 2001 at 17:47:39
Subject:Re: Tasks vs. Threads

Hi all,

[...]
> >
> > Instead, the parent process (threads are always
> controlled by a parent
> > process) performs the thread context switching
> itself - or if you use
> > pthreads or similar, the library code will do
> this. In other words,
> > threads are switched within the time slice
> available to the parent
> > process.

On Unix, the main implication is parent and sons
processes runs into the same memory environment (in
MMY point of view), so no memory context switch is
need.

So in many points, all AmigaOS tasks are thread.

> Just another thing, multi-processor ready programs
> are refered as
> multi-threading programs, this sounds like you can
> open a new thread on
> each different processor (just like I could open a
> Task on my 68k and
> another on the PowerPC and make them run together),
> is this true?

multi-threading means that the same code should be
shared b/w all instance of a program. It's like PURE
executables on AmigaOS.

Bye

Laurent

=====
The misspelling master is on the Web.
_________
/ /(
/ Dico / / 100 % Dictionnary Free !
/________/ /
(#######( /

Quoi, des fautes d'orthographe! Pas possible ;-D.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://us.click.yahoo.com/kWP7PD/pYNCAA/4ihDAA/d8AVlB/TM
---------------------------------------------------------------------_->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/