What are the insert and remove indexes in the thread queue structure?

In the thread queue structure in sched_ule.c, what do these 2 fields represent exactly?
Code:
struct tdq {
   ...
   u_char tdq_idx; /* Current insert index. */
   u_char tdq_ridx; /* Current removal index. */
   ...
}
 
Back
Top