Chapter 10: Modules, Processes, and Threads

Chapter 7. Windows CE enforces a limit of 32 separate processes that can run at any time.Each process has at least one thread. A thread executes code within a process. A process can have multiple threads running "at the same time." I put the phrase at the same time in quotes because, in fact, only one thread executes at any instant in time. The operating system simulates the concurrent execution of threads by rapidly switching between the threads, alternatively stopping one thread and switching to another.