A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

November 14, 2014

How can I access all running queues in the system?

I'm learning about the scheduler, and doing various hacks just to understand how data structures are organized. Now I'm trying to understand how the running queues of the scheduler are organized. So given a process I figured that I can find its running queue. But I just want to iterate over all running queues. How can I do this?

Click Here!