zerothi wrote:1) No, you can use the "sections" extension which splits serial code into threaded code segments.
zerothi wrote:2) Yes, and no, I don't see anything wrong with creating an array the size of your threads and save to each thread-ID the timer, in this way you should be able to get the thread time (however, I have never tried this)
Rajesh1978 wrote:Timers I mean for to handle the timeouts.
Suppose you associate a thread with timer and set the timeout to 30.
So after each 30 second the time out will happen and a particular task can be done at that timeout.
Is there anything like this in OMP.
Users browsing this forum: Exabot [Bot], Google [Bot] and 4 guests