• Home
  • Raw
  • Download

Lines Matching refs:sibling

1827 	struct tsync_sibling sibling[TSYNC_SIBLINGS];  in FIXTURE_DATA()  local
1849 memset(&self->sibling, 0, sizeof(self->sibling)); in FIXTURE_SETUP()
1864 self->sibling[0].tid = 0; in FIXTURE_SETUP()
1865 self->sibling[0].cond = &self->cond; in FIXTURE_SETUP()
1866 self->sibling[0].started = &self->started; in FIXTURE_SETUP()
1867 self->sibling[0].mutex = &self->mutex; in FIXTURE_SETUP()
1868 self->sibling[0].diverge = 0; in FIXTURE_SETUP()
1869 self->sibling[0].num_waits = 1; in FIXTURE_SETUP()
1870 self->sibling[0].prog = &self->root_prog; in FIXTURE_SETUP()
1871 self->sibling[0].metadata = _metadata; in FIXTURE_SETUP()
1872 self->sibling[1].tid = 0; in FIXTURE_SETUP()
1873 self->sibling[1].cond = &self->cond; in FIXTURE_SETUP()
1874 self->sibling[1].started = &self->started; in FIXTURE_SETUP()
1875 self->sibling[1].mutex = &self->mutex; in FIXTURE_SETUP()
1876 self->sibling[1].diverge = 0; in FIXTURE_SETUP()
1877 self->sibling[1].prog = &self->root_prog; in FIXTURE_SETUP()
1878 self->sibling[1].num_waits = 1; in FIXTURE_SETUP()
1879 self->sibling[1].metadata = _metadata; in FIXTURE_SETUP()
1892 struct tsync_sibling *s = &self->sibling[sib]; in FIXTURE_TEARDOWN()
1939 void tsync_start_sibling(struct tsync_sibling *sibling) in tsync_start_sibling() argument
1941 pthread_create(&sibling->tid, NULL, tsync_sibling, (void *)sibling); in tsync_start_sibling()
1973 self->sibling[0].diverge = 1; in TEST_F()
1974 tsync_start_sibling(&self->sibling[0]); in TEST_F()
1975 tsync_start_sibling(&self->sibling[1]); in TEST_F()
1990 pthread_join(self->sibling[0].tid, &status); in TEST_F()
1992 pthread_join(self->sibling[1].tid, &status); in TEST_F()
2012 tsync_start_sibling(&self->sibling[0]); in TEST_F()
2013 tsync_start_sibling(&self->sibling[1]); in TEST_F()
2032 pthread_join(self->sibling[0].tid, &status); in TEST_F()
2034 pthread_join(self->sibling[1].tid, &status); in TEST_F()
2043 tsync_start_sibling(&self->sibling[0]); in TEST_F()
2044 tsync_start_sibling(&self->sibling[1]); in TEST_F()
2058 pthread_join(self->sibling[0].tid, &status); in TEST_F()
2060 pthread_join(self->sibling[1].tid, &status); in TEST_F()
2070 tsync_start_sibling(&self->sibling[0]); in TEST_F()
2071 tsync_start_sibling(&self->sibling[1]); in TEST_F()
2098 pthread_join(self->sibling[0].tid, &status); in TEST_F()
2100 pthread_join(self->sibling[1].tid, &status); in TEST_F()
2120 self->sibling[0].diverge = 1; in TEST_F()
2121 tsync_start_sibling(&self->sibling[0]); in TEST_F()
2122 tsync_start_sibling(&self->sibling[1]); in TEST_F()
2131 ASSERT_EQ(self->sibling[0].system_tid, ret) { in TEST_F()
2143 pthread_join(self->sibling[0].tid, &status); in TEST_F()
2145 pthread_join(self->sibling[1].tid, &status); in TEST_F()
2164 self->sibling[0].diverge = 1; in TEST_F()
2165 tsync_start_sibling(&self->sibling[0]); in TEST_F()
2166 tsync_start_sibling(&self->sibling[1]); in TEST_F()
2183 ASSERT_EQ(ret, self->sibling[0].system_tid) { in TEST_F()
2187 if (ret == self->sibling[0].system_tid) in TEST_F()
2195 self->sibling[!sib].num_waits += 1; in TEST_F()
2202 pthread_join(self->sibling[sib].tid, &status); in TEST_F()
2205 while (!kill(self->sibling[sib].system_tid, 0)) in TEST_F()
2221 if (self->sibling[sib].num_waits > 1) in TEST_F()
2222 self->sibling[sib].num_waits = 1; in TEST_F()
2227 pthread_join(self->sibling[sib].tid, &status); in TEST_F()
2230 while (!kill(self->sibling[sib].system_tid, 0)) in TEST_F()