Hi, how can I check the current thread is main thread in Linux?
m
mbonnin
04/26/2020, 9:07 AM
I guess it depends what framework you're using ? If you're making a simple cli, you can always set a thread local variable att tthe beginning of your main ?