PS4 thread waits for infinite time

I need to start a thread that does some work right when the .exe file is launched. For Windows, I know that the thread can be only initialized once the Command Line is initialized. And that works.

But what is the requirement on PS4? Every time I launch a thread, it goes in infinite waiting mode. I am able to start the thread once the game is loaded, but I need to start it much before that. How to do that?