Home | History | Annotate | Download | only in tests

Lines Matching refs:Writer

672 // A simple data race between writer and reader. 
675 void Writer() {
688 MyThreadArray t(Writer, Reader);
700 // A simple data race between writer and reader.
704 // Writer: Reader:
706 // is most likely initialized by Writer)
713 void Writer() {
725 MyThreadArray t(Writer, Reader);
1496 // test30: TN. Synchronization via 'safe' race. Writer vs multiple Readers. {{{1
1501 // Writer: Reader1, Reader2, ..., ReaderN:
1508 // Writer writes to GLOB[i] where i>=BOUNDARY and then increments BOUNDARY.
1522 void Writer() {
1551 MyThreadArray t(Writer, Reader, Reader, Reader);
1560 // test31: TN. Synchronization via 'safe' race. Writer vs Writer. {{{1
1563 // it has one Writer instead of mulitple Readers.
1619 // Parent: Writer: Reader:
1622 // 2. Start(Writer) ---\ \ .
1626 // 3. Join(Writer) <---/
1640 void Writer() {
1655 MyThread w(Writer);
1877 // Writer: Reader:
1885 void Writer() {
1899 MyThreadArray t(Writer, Reader);
2353 // same as test10 but with single writer and multiple readers
2354 // A simple data race between single writer and multiple readers.
2358 // Writer: Readers:
2360 // is most likely initialized by Writer)
2367 void Writer() {
2379 MyThreadArray t(Writer, Reader,Reader,Reader);
2392 // A simple data race between writer and readers.
2395 // Writer: Reader:
2397 // is most likely initialized by Writer)
2407 void Writer() {
2422 MyThreadArray t(Writer, Reader);
2813 void Writer() {
2824 MyThreadArray t(Writer, Writer, Reader, Reader);
3297 void Writer() {
3328 MyThreadArray t(Reader, Writer, Writer, Writer);
3350 void Writer() {
3381 MyThreadArray t(Reader, Writer, Writer, Writer);
3993 // Writer creates a new object and makes the pointer visible to the Reader.
4030 void Writer() {
4055 MyThreadArray t(Writer, Reader);
4070 void Writer() {
4085 MyThreadArray t(Writer, Reader);
4772 void Writer() {
4805 MyThreadArray t(Writer, Reader);
5970 // (GLOB[thread_num]) and we take a *writer* lock when we
7095 t4(Thread4, NULL, "buggy writer");