Home | History | Annotate | Download | only in tests

Lines Matching refs:child

5    child: new value 6
6 child: new value 10
11 child: new value 10
21 whilst child reads it. When counter reaches a prearranged value,
22 child joins back to parent. Parent (writer) uses hardware bus lock;
23 child is only reading and so does not need to use a bus lock. */
162 printf("child: new value %d\n", oldx);
173 pthread_t child;
176 if (pthread_create(&child, NULL, child_fn, NULL)) {
183 if (i == 5) sleep(1); /* make sure child doesn't starve */
186 if (pthread_join(child, NULL)) {