can i do like this:
1. assign a start time to a thread
2. assign a end time to a thread
3. after that restart that thread.
basically i want to start a thread and after 120 seconds if it is not yet done with his job i just want to restart it and reassign its job.
1. assign a start time to a thread
2. assign a end time to a thread
3. after that restart that thread.
basically i want to start a thread and after 120 seconds if it is not yet done with his job i just want to restart it and reassign its job.
Comment