Python Multithreading: Custom Thread Classes and Concurrency
Learn how to subclass the Thread class in Python to manage background tasks, handle shared state safely, and build responsive applications.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
Writing responsive Python applications often requires running multiple tasks at the same time. Understanding how to subclass Python's built-in Thread class gives you precise control over background processes and concurrent execution. In this course, you will transition from writing sequential code to developing robust, multithreaded Python programs. You will learn how to encapsulate thread behavior within custom classes, manage shared state safely, and coordinate complex concurrent tasks.
What you'll learn:
- Understand the core concepts of concurrency, multithreading, and the Global Interpreter Lock (GIL) in Python.
- Subclass the Thread class to create reusable and structured background workers.
- Override the constructor and run methods to pass arguments and execute custom logic safely.
- Apply modern thread synchronization techniques, including Locks and Queues, to prevent race conditions.
- Integrate type hints and modern Python conventions to write clean, maintainable concurrent code.
- Compare subclassing with high-level alternatives like concurrent.futures for different use cases.
You will start with the fundamental terminology of threads and concurrency before diving into structured code explanations. You will progress from basic thread creation to overriding class methods, managing thread lifecycles, and implementing thread-safe communication patterns.
This text-based course is designed for beginner to intermediate Python developers who want to understand concurrent execution. No prior experience with multithreading is required, though a basic familiarity with Python syntax and object-oriented programming is recommended.
Start reading today to unlock the power of concurrency in your Python applications.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
2 ساعة 36 دقيقة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
المتعلمون أخذوا أيضًا
🌟 اختيار الطلاب
🎓 بشهادة
أساسيات جافا الحديثة: البرمجة الوظيفية والسجلات والميزات الحديثة
شهادة
تطبيق عملي
240 lei
→
🌟 اختيار الطلاب
🎓 بشهادة
البرمجة غير المتزامنة (Asynchronous Programming) وتعدد الخيوط (Multithreading) في C#
شهادة
تطبيق عملي
240 lei
→
⚡ الأفضل للبداية
🎓 بشهادة
كتابة Python عالي الأداء: تحسين السرعة والذاكرة
شهادة
تطبيق عملي
240 lei
→
🏆 الأكثر شعبية
🎓 بشهادة
برمجة Go بالأمثلة: بناء تطبيقات موثوقة
شهادة
تطبيق عملي
240 lei
→
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف 480 lei واحصل على 200 رصيد، بحيث تكلف كل دورة حوالي 60,00 lei. لا تنتهي صلاحية الأرصدة أبداً.
480 lei
200 رصيد
60,00 lei / دورة
أفضل قيمة
1.200 lei
550 رصيد
54,55 lei / دورة
2.400 lei
1200 رصيد
50,00 lei / دورة
الرصيد يصلح لأي دورة ولا ينتهي.