X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fantithread%2F_info.c;fp=ccan%2Fantithread%2F_info.c;h=81c23e8ce1ebdc32d287e3b9bc1eea787dfe2011;hp=0000000000000000000000000000000000000000;hb=36e8b652d0aa045e6e427dc3851da24472ed6a95;hpb=cc1e3419b6c5e4abf1b99b0094bc3e134356525e diff --git a/ccan/antithread/_info.c b/ccan/antithread/_info.c new file mode 100644 index 00000000..81c23e8c --- /dev/null +++ b/ccan/antithread/_info.c @@ -0,0 +1,23 @@ +#include +#include +#include "config.h" + +/** + * antithread - Accelerated Native Technology Implementation of "threads" + * + * Threads suck. Antithreads try not to. FIXME. + */ +int main(int argc, char *argv[]) +{ + if (argc != 2) + return 1; + + if (strcmp(argv[1], "depends") == 0) { + printf("ccan/talloc\n"); + printf("ccan/alloc\n"); + printf("ccan/noerr\n"); + return 0; + } + + return 1; +}