static struct snobj *handle_reset_all(struct snobj *q) { struct snobj *r; printf("*** reset_all requested ***\n"); r = handle_reset_modules(NULL); assert(r == NULL); r = handle_reset_ports(NULL); assert(r == NULL); return NULL; }
static struct snobj *handle_reset_all(struct snobj *q) { struct snobj *r; printf("*** reset_all requested ***\n"); r = handle_reset_modules(NULL); if (r) return r; r = handle_reset_ports(NULL); if (r) return r; r = handle_reset_tcs(NULL); if (r) return r; r = handle_reset_workers(NULL); if (r) return r; return NULL; }