Index278 M M:1 threading 33 mac OS OS-provided API, using in 56-58 raw syscall on 54, 55 main. rs file 84-93, 253, 254 memory management unit (MMU) 17 mental model, of async runtime 131-133 M*N threading 28, 33 move 231, 232 multicore processors 6 multiprotocol file transfer 265 multitasking 4 hyper-threading 5 multicore processors 6 non-preemptive multitasking 4 preemptive multitasking 5 synchronous code, writing 6 multithreaded programming 13 N network call 19 code 19 events, registering with OS 20 network card 20 data, reading and writing 21 next level of abstraction 55, 56 OS-provided API, using in Linux and mac OS 56-58 Windows API, using 58-60 non-cooperative multitasking 26 non-leaf futures 130 example 131 non-preemptive multitasking 4, 5O operating system and CPU 15-18 communicating with 14 concurrency 13 role 13 teaming up with 14 threads 12 OS-backed event blocking I/O and non-blocking I/O 46 queuing, need for 45 queuing, via epoll/kqueue 47 queuing, via IOCP 47 OS-provided API using, in Linux and mac OS 56-58 OS threads 27-29 asynchronous operations, decoupling 31 drawbacks and complexities 29-31 example 31, 32 out-of-order execution 7 P parallel 8 parallelism 7 versus concurrency 7-10 pinning 233, 234, 241 executor. rs 246, 247 future. rs 242 http. rs 242, 243 main. rs 244-246 to heap 235, 236, 237 to stack 237, 238, 239 Un Pin 234 pin_project reference link 241