Playback starts YouTube’s embedded player (privacy-enhanced mode).
Java Multithreading Tutorial for Beginners #7: How to safely stop a thread ?
ChannelGenuine CoderDescription from the creator
In this chapter, we will talk about properly closing a thread. The built-in method Thread.stop() is deprecated and we should implement our own method for closing a thread properly.
It is really important that we properly close a thread, especially if the thread does work on things that can lead to data loss, data inconsistency etc. In this chapter, we will look into a method where we make use of a flag to properly stop a thread if needed.
You can find the source code of this chapter in the following GitHub repository.
github.com/afsalashyana/Java-Multithreading-Tut…
Website:-
genuinecoder.com
#Multithreading
#GenuineCoder
#Java
It is really important that we properly close a thread, especially if the thread does work on things that can lead to data loss, data inconsistency etc. In this chapter, we will look into a method where we make use of a flag to properly stop a thread if needed.
You can find the source code of this chapter in the following GitHub repository.
github.com/afsalashyana/Java-Multithreading-Tut…
Website:-
genuinecoder.com
#Multithreading
#GenuineCoder
#Java
About this tutorial
Genuine Coder published this 9:12 video tutorial on October 30, 2019. It has been watched 7,964 times on YouTube.
- Channel
- Genuine Coder
- Category
- Education
- Duration
- 9:12
- Published
- October 30, 2019
- Views
- 7,964
- Likes
- 112
Tags
Share
This tutorial in other languages
- FRJava multithreading Tutorial pour les débutants # 7: Comment arrêter en toute sécurité un fil?
- ESJava multithreading Tutorial para principiantes # 7: Cómo detener de forma segura un hilo?
- PTJava Multithreading Tutorial para Iniciantes # 7: Como parar com segurança um fio?
- ITJava Multithreading Tutorial for Beginners # 7: Come fermare in modo sicuro un filo?
- DEJava Multithreading Tutorial für Anfänger # 7: Wie sicher einen Thread zu stoppen?
- NLJava Multithreading Tutorial voor beginners # 7: Hoe veilig een thread te stoppen?
- RUJava Многопоточность Учебник для начинающих # 7: Как безопасно остановить поток?
- PLWielowątkowość Java Tutorial dla początkujących # 7: Jak bezpiecznie zatrzymać wątku?
- JA初心者#7のためのJavaのマルチスレッドチュートリアル:どのように安全にスレッドを停止するには?
- ARجافا خاصية تعدد دروس للمبتدئين رقم 7: كيف لوقف بأمان موضوع؟
- HIजावा बहु सूत्रण ट्यूटोरियल शुरुआती # 7 के लिए: कैसे सुरक्षित रूप से एक धागे को रोकने के लिए?
- IDJava Multithreading Tutorial untuk Pemula # 7: Bagaimana menghentikan thread aman?