Hi, I have a requirement where in a thread has a lot of requests( in hundreds ) to be enqueued. I was just wondering, if i can form an array or something and enqueue it directly, it should be faster than touching the shared resource again and again. But i don't find an API like that in the reference documentation. Even if i enqueue it as an array, it should get dequeued element wise. Can someone explain what would be the best approach in solving a problem like this?Thanks in advance,Gokul.
For more complete information about compiler optimizations, see our Optimization Notice.