Design document for MT appli?
> > If you describe what it is you need to acheive, someone in this forum > > advise against using threads, or if they think threads will be good, > > how to use them for best effect. Here is something I recently posted to the Linux kernel list: —— Let’s go back to basics. Take a look inside your computer. What do you see? 1) one (or more) CPUs 2) some RAM 3) a PCI bus, containing: 4) — a SCSI/IDE controller 5) — a network card 6) — a graphics card These are all the parts of your computer that are smart enough to accomplish some amount of work on their own. The SCSI or IDE controller can read data from disk without bothering any other components. The network card can send and receive packets fairly autonomously. Each CPU in an SMP system operates nearly independently. An ideal application could have all of these devices doing useful work at the same time. When people think of “multithreading,” often they are just looking for a way to extract more concurrency from their machine.