I have to extend the execution of current thread for more that 1 second. What I can use in c++?
Can I use delay()
or something else?
[from the comments]: Let me explain scenario: I have one main thread (LONG) that starts the another sub thread (SHORT), so i need to keep the execution LONG thread, so that it ends after the execution of SHORT. – Prajkata 4 mins ago