rem: ptp = openproc(needs_for_format | needs_for_sort | needs_for_select);
add: ptp = openproc(needs_for_format | needs_for_sort | needs_for_select | needs_for_threads);
context: static void fancy_spew(void){  proc_t *retbuf = NULL;  PROCTAB *restrict ptp;  int n = 0;  /* number of processes & index into array */  if(thread_flags){    fprintf(stderr, "can't have threads with sorting or forest output\n");    exit(49);  }  ptp = openproc(needs_for_format | needs_for_sort | needs_for_select);  if(!ptp) {    fprintf(stderr, "Error: can not access /proc.\n");    exit(1);  }  while((retbuf = readproc(ptp,retbuf))){    if(want_this_proc(retbuf)){      fill_pcpu(retbuf); // in case we might sort by %cpu      processes[n++] = retbuf;      retbuf = NULL;     // NULL asks readproc to allocate    }  }  if(retbuf) free(retbuf);  closeproc(ptp);  if(!n) return;  /* no processes */  if(forest_type) prep_forest_sort();  qsort(processes, n, sizeof(proc_t*), compare_two_procs);  if(forest_type) show_forest(n);  else show_proc_array(n);}