_info 503 B

12345678910111213141516171819202122232425
  1. #include "config.h"
  2. #include <string.h>
  3. /**
  4. * lbalance - helpers for loadbalancing parallel tasks
  5. *
  6. * This code helps when you have a large number of one-shot tasks; it tries
  7. * to determine the maximum amount of useful parallelism.
  8. *
  9. * License: GPL
  10. * Author: Rusty Russell <rusty@rustcorp.com.au>
  11. */
  12. int main(int argc, char *argv[])
  13. {
  14. /* Expect exactly one argument */
  15. if (argc != 2)
  16. return 1;
  17. if (strcmp(argv[1], "depends") == 0) {
  18. printf("ccan/tlist\n");
  19. return 0;
  20. }
  21. return 1;
  22. }