We can interrupt main Thread ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

We can interrupt main Thread ?

No then why and yes then how ?

6th Apr 2020, 2:52 AM
Ketul Patel
Ketul Patel - avatar
2 Answers
+ 4
This platform doesn't support for multithreading. child thread is interrupted successfully in my laptop but main thread doesn't interrupted why ? and show the below codes. https://code.sololearn.com/cgP14QcpWSOv/?ref=app https://code.sololearn.com/cuCdSHaYkmJ2/?ref=app
6th Apr 2020, 10:24 AM
Ketul Patel
Ketul Patel - avatar
+ 3
Didn't understood your question. Can you please elaborate....?
6th Apr 2020, 3:54 AM
Ayush Dwivedi
Ayush Dwivedi - avatar