Changes in src/tests/concurrent/thread.c [b9f383f:557435e]
- File:
-
- 1 edited
-
src/tests/concurrent/thread.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/concurrent/thread.c
rb9f383f r557435e 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 ) { this.lock = &lock; } 10 void ?{}( Second & this, semaphore & lock ) { this.lock = &lock; } 11 11 12 12 void main(First& this) {
Note:
See TracChangeset
for help on using the changeset viewer.