Changes in src/tests/concurrent/thread.c [557435e:b9f383f]
- File:
-
- 1 edited
-
src/tests/concurrent/thread.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/concurrent/thread.c
r557435e rb9f383f 7 7 thread Second { semaphore* lock; }; 8 8 9 void ?{}( First & this, semaphore & lock ) {this.lock = &lock; }10 void ?{}( Second & this, semaphore & lock ) { 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.