Lines Matching full: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. */
104 printf("child: new value %d\n", oldx);
118 pthread_t child;
121 if (pthread_create(&child, NULL, child_fn, NULL)) {
128 if (i == 5) sleep(1); /* make sure child doesn't starve */
131 if (pthread_join(child, NULL)) {