[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
I have been trying to understand Jon Still's and Simon Waters's replies in particular about threads. It is a shock to realise I have not worked on real time systems for over 25 years. If I understand correctly for code to support threading it must be re-entrant? If so, to change users are cpu registers settings placed on a stack held in main memory? That can't be right because there would have to be a separate stack per user else it would be LIFO. So how is it done and is this what is meant by context switching? What are Posix threads? tia ----- Original Message ----- From: "Jon Still" <jon@xxxxxxxxxxx> To: <list@xxxxxxxxxxxx> Sent: Thursday, September 06, 2001 2:17 PM Subject: Re: [LUG] Linux is 10 years old > > peterbunce wrote: > > > > > > no ms software is nor, sorry to say, is any flavor of linux > > Linux *is* multitasking and multithreaded. There are even kernel threads. > > Linux does *not* do pre-emptive multitasking. In fact, very few general > purpose OSes do - Solaris is one of them and I forget the other. > Pre-emptive multitasking is the domain of Real Time OSes. > > J. > > -- > Jon Still E-mail: jon@xxxxxxxxxxx > System Administrator Web: http://www.tertial.org/ > tertial.org Tel: +44 (0)7977 066087 > > > -- > The Mailing List for the Devon & Cornwall LUG > Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the > message body to unsubscribe. > -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.