Changes in tests/concurrent/thread.cfa [05035b3:107b01a]
- File:
-
- 1 edited
-
tests/concurrent/thread.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/thread.cfa
r05035b3 r107b01a 7 7 thread Second { semaphore* lock; }; 8 8 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; }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; } 11 11 12 12 void main(First& this) {
Note:
See TracChangeset
for help on using the changeset viewer.