Changes in src/tests/thread.c [cb0e6de:348006f]
- File:
-
- 1 edited
-
src/tests/thread.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/thread.c
rcb0e6de r348006f 4 4 #include <thread> 5 5 6 struct First { thread_desc __thrd; signal_once* lock; };7 struct Second { thread_desc __thrd; signal_once* lock; };6 struct First { thread_desc t; signal_once* lock; }; 7 struct Second { thread_desc t; signal_once* lock; }; 8 8 9 9 DECL_THREAD(First); … … 12 12 void ?{}( First * this, signal_once* lock ) { this->lock = lock; } 13 13 void ?{}( Second * this, signal_once* lock ) { this->lock = lock; } 14 15 void ^?{}( First * mutex this ) {}16 void ^?{}( Second * mutex this ) {}17 14 18 15 void main(First* this) {
Note:
See TracChangeset
for help on using the changeset viewer.