Lines Matching defs:??
1 /* $NetBSD: h_reconcli.c,v 1.2 2011/02/19 09:56:45 pooka Exp $ */
32 /* try to catch a random slot */
37 * of the client rumpkernel communication socket.
60 if (rump_sys_getpid() == -1)
65 if (rump_sys___sysctl(hostnamemib, __arraycount(hostnamemib),
68 if (strcmp(hostnamebuf, goodhostname) != 0)
84 pthread_t pt, w1, w2, w3, w4;
88 if (argc != 2)
91 if (timecount <= 0)
97 if (rumpclient_init() == -1)
101 if (rump_sys___sysctl(hostnamemib, __arraycount(hostnamemib),
105 pthread_create(&pt, NULL, closer, NULL);
106 pthread_create(&w1, NULL, worker, NULL);
107 pthread_create(&w2, NULL, worker, NULL);
108 pthread_create(&w3, NULL, worker, NULL);
109 pthread_create(&w4, NULL, worker, NULL);
114 pthread_join(pt, NULL);
115 pthread_join(w1, NULL);
116 pthread_join(w2, NULL);
117 pthread_join(w3, NULL);
118 pthread_join(w4, NULL);