Is the main thread of the browser the JS engine thread?

the browser has JS engine thread, GUI rendering thread, event thread, timer thread, network thread, event polling processing thread. It is often said that the worker thread works under the deployment of the main thread, so is the main thread the JS engine thread?


No.

the main thread of the browser is, of course, the browser itself.


when a browser is opened, it is usually multi-process, one is the main process, the other is the GPU process, and the tab you see also contains a process. The browser sometimes optimizes multiple processes into one process, which is the task that can be seen under the task manager. A process contains multiple threads, including js engine threads, rendering threads, event queue threads, timer threads. If there is a corresponding thread open for initiating the request, the js engine thread and the rendering thread are mutually exclusive


see this https://funteas.com/topic/5a6.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e96b1d-15ff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e96b1d-15ff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?