VB.Net Handbook Threading
Chapter 1 is a big disappointment. Who ever wrote this doesn't know how preemptive OSes work let alone Windows.
The several errors include (at least):
1. SPawing a new thread in a process is not "free thrading." p.10
2. VB6 did not create a new process to create a thread. p.11
3. Figure 3 (p.11) is not a diagram of apartment threading. You can have apartment theads in a single process.
4. Windows does not place an instruction in a thread's execution sequence to determin how long a thread should run. (p.15)
5. Interupts are not placed on a thread's stack (p.16)
6. The discussion of thread priority does not mention that starved threads get a priotity boost. (p.18) Yet an advanced topic like processor affinity is discussed on p.13!
Whowever wrote this seems really confused about a .Net process and an OS process but in the introductory material he's clearly discussing the OS process (or so it seems.) No disccusion of .Net Process islation?
I really expect (and usually get more) from a WROX book. This book was poorly reviewed for technical content (at least Chapter 1.) AS I read on, I hope they know more about .Net threading than OS kernel thread, processes, and interrupts.
|