Knowledge

Multithreading

Subject: .../Algorithms
Multi-threading suggest parallel execution of multiple threads, which causes new class of difficultires comparing to single-thread programming. To know multithreadings means knowing commong pitfalls and methods of coding around them. Usually these includes next terms: * dead-lock * live-lock * synchronization * race condition * atomicity * re-entrancy * synchronization primitives * memory barriers

Materials

Check yourself
Q:

What is the main principle of dead-lock prevention?

Q:

How many threads can process have on CPU with 12 threads?

Do you know that ...?
- It is possible to start thread in other process

E.g. via CreateRemoteThread Win API

- Windows supports three levels of granularity of executable units

1) Process 2) Thread 3) Fiber

Skillsets
Skillset Web Backend Developer preview
image descriptionWeb Backend Developer
by Infinite Education
2092 users
Skillset Android Developer preview
image descriptionAndroid Developer
by Jack Wilson
1830 users