query_thread
thread = spawn_thread(query_thread, "query menu thread", B_NORMAL_PRIORITY, this);
static int32 query_thread(void *data);