Grokking Multithreading and Concurrency for Coding Interviews
0% completed
Creating, Starting, and Joining Threads
Know the Vocabulary
This lesson uses the terms below many times. Read them once now, and come back here when a later section needs one.
- Thread: One path of work inside a program. A program can run many threads at the same time.
- Main thread: The thread that a program starts with. It runs the
mainfunction, or the top of a Python script. - Worker thread: A thread that another thread creates to do one part of the work.
- Create (a thread): To make a thread object that knows which code to run. In most languages, nothing runs yet.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%