JavaRush
AI Academy
new
Promotion
Learning
Courses
Tasks
Quizzes
Games
Help
Schedule of nudges
Internship
Community
Users
Forum
Chat
Articles
Activities
Reviews
Subscriptions
Light theme

Lectures

  • Reviews
  • About us
  • CS50
Start
Start learning
Start learning
  • My progress
  • Courses
  • Quest map
  • Lectures
  • Introduction to Multithreading

    C# SELF
    55 level,0 lecture
    In this lecture you'll get the basics of multithreading in C# and .NET: how a Thread differs from a process, how to start a new thread and wait for it using Start() and Join(), why shared memory between threads is risky, and what a race condition is, mutual blocking and other traps. We'll briefly touch the evolution of tools: from System.Threading.Thread to Task and async/ await, and also discuss where multithreading is useful in practice.
    Open
  • Starting threads using the Thread class

    C# SELF
    55 level,1 lecture
    In this lecture you'll get hands-on with manual multithreading in .NET: how to create and start a thread using Thread, pass it parameters (via a lambda or ParameterizedThreadStart), manage the thread lifecycle ( Start(), Join(), IsAlive, Name, CurrentThread, Sleep(...)), and also go over common mistakes and see a lifecycle diagram. Brief notes on when Task and async/ await make more sense, but with emphasis on the basics.
    Open
  • Thread lifecycle and how to control it

    C# SELF
    55 level,2 lecture
    Let's break down the lifecycle of threads in .NET: states Unstarted/ Running/ WaitSleepJoin/ Stopped, starting with Start(), waiting with Join(), correct stopping with a flag and volatile, working with background threads ( IsBackground), checking state ( IsAlive) and common mistakes. With code examples and a visual diagram.
    Open
  • Thread priorities and thread types

    C# SELF
    55 level,3 lecture
    In this lecture we go over how to control thread priorities in .NET: the Priority property on Thread and the ThreadPriority enum, when and why to change priority, the difference between foreground and background threads and how IsBackground affects process shutdown. We'll talk about the ThreadPool, its role for Task/ async/await, and common mistakes and practical recommendations.
    Open
  • Race Condition (sostoyanie gonki)

    C# SELF
    55 level,4 lecture
    What a race condition is, where it comes from, and why it shows up "only sometimes." We'll go through clear examples with incrementing a counter and competing operations, look at timing diagrams, discuss ways to diagnose it and basic approaches to prevent it: synchronization ( lock, Monitor), atomic operations ( Interlocked. Increment), and thread-safe collections.
    Open
Courses
  • Java Course
  • Python Course
  • Development with Claude Code
  • All 16 courses
University
  • Java FullStack
  • Python FullStack
  • AI Native Developer
  • Web FullStack
Community
  • Articles
  • Forum
  • Help with Tasks
Company
  • About us
  • Contacts
  • Reviews
  • Pricing
  • Questions and answers
JavaRush JavaRush: online courses in Java and other programming languages, where you learn by solving tasks. We started in 2012 with a Java course, and today there are 16 courses: Java and Spring, Python, web development, SQL, Go, C#, C++, Kotlin, Swift, Docker and AI development. More than 10,000 tasks with instant checks, and the first level of any course is free. Learn on your own or with a mentor at JavaRush University.
Follow us
Язык интерфейса
Русский
English
Українська
"Programmers are not born" © 2026 JavaRush Terms of Use and Privacy policy
MastercardVisa
"Programmers are not born" © 2026 JavaRush Terms of Use and Privacy policy