Changeset 4fa8f1a for tests/concurrent
- Timestamp:
- Nov 30, 2019, 1:17:32 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1805b1b, e8c52cf
- Parents:
- e71c1d4 (diff), ce7bdc4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
tests/concurrent/thread.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/thread.cfa
re71c1d4 r4fa8f1a 7 7 thread Second { semaphore* lock; }; 8 8 9 void ?{}( First & this, semaphore & lock ) { ((thread&)this) {"Thread 1"}; this.lock = &lock; }10 void ?{}( Second & this, semaphore & lock ) { ((thread&)this) {"Thread 2"}; this.lock = &lock; }9 void ?{}( First & this, semaphore & lock ) { ((thread&)this).self_cor.name = "Thread 1"; this.lock = &lock; } 10 void ?{}( Second & this, semaphore & lock ) { ((thread&)this).self_cor.name = "Thread 2"; this.lock = &lock; } 11 11 12 12 void main(First& this) {
Note:
See TracChangeset
for help on using the changeset viewer.