Fix usage of threads for pages migration
The main thread already is one that is `running`. The child threads should always wrap only operation instead of the whole thread. This ensures that wrapping operation can hold a lock when loading code. In a worst case scenario it will result that initially till all threads do load all relevant code it will be run effectively in sequence. This will resolve once all dependencies get loaded lazilly.
Showing
Please register or sign in to comment