1 #include <ccan/antithread/antithread.c>
3 #include <ccan/tap/tap.h>
5 int main(int argc, char *argv[])
11 atp = at_get_pool(&argc, argv, NULL);
13 at_tell_parent(atp, (void *)1UL);
22 atp = at_pool(1*1024*1024);
25 /* This should work */
26 at = at_spawn(atp, NULL, argv);
29 /* Should read back the magic pointer. */
30 ok1(at_read(at) == (void *)1);