سؤال

I am trying to change the kernel of freeBSD. There is a class named rqhead used in funtcions runq_choose() and class runq. I'm looking for the first definition of this class which is not defined in the class runq.h. Where is the definition of this struct and what is its name?

هل كانت مفيدة؟

المحلول

They are defined in sys/runq.h.

Type man TAILQ_HEAD for details explaining the TAILQ_HEAD(rqhead, thread) line.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top