Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is start_wqthread? Does it affect the UIMainThread?

enter image description here

I am using instrument (time profile) to analyze an app. In this figure, what does the start_wqthread mean?

like image 483
Anson Yao Avatar asked Apr 16 '26 09:04

Anson Yao


1 Answers

The "wq" in start_wqthread stands for "work queue". It's the entry point for any thread started by GCD. It has no impact on the main thread, other than using hardware resources, same as any other code.

like image 78
Avi Avatar answered Apr 17 '26 23:04

Avi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!