Open rllola opened 5 years ago
As a noob, I think multithread is better because it uses separate proccesses (like Google Chrome's tabs), so if one crashes, the whole browser is yet working with the other tabs
For the tabs I am not sure how pyqt5 is handling it... It might be worth looking into it.
For this precise issue I was referring to this part : https://github.com/rllola/ZeronetBrowser/blob/master/launch.py
I start zeronet inside an other process and create the browser inside the main one process. We now have 2 processes running and I just want to be sure it is the proper way of doing it.
https://timber.io/blog/multiprocessing-vs-multithreading-in-python-what-you-need-to-know/