| 645 | }; |
| 646 | |
| 647 | static void *stat_thread(void *argsptr) |
| 648 | { |
| 649 | comdb2_name_thread(__func__); |
| 650 | struct statthrargs *args = argsptr; |
| 651 | thread_started("dbque stat"); |
| 652 | backend_thread_event(args->db->dbenv, COMDB2_THR_EVENT_START_RDONLY); |
| 653 | stat_thread_int(args->db, args->fullstat, args->walk_queue); |
| 654 | backend_thread_event(args->db->dbenv, COMDB2_THR_EVENT_DONE_RDONLY); |
| 655 | free(args); |
| 656 | return NULL; |
| 657 | } |
| 658 | |
| 659 | static void queue_stat(struct dbtable *db, int full, int walk_queue, int blocking) |
| 660 | { |
nothing calls this directly
no test coverage detected