source: tests/concurrent/park/start_parked.cfa @ 3d08cea

ADTast-experimental
Last change on this file since 3d08cea was e235429, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Removed last parker/unparker information is it was not particularly useful

  • Property mode set to 100644
File size: 200 bytes
Line 
1#include <thread.hfa>
2
3thread Parker {};
4void main( Parker & ) {
5        park();
6}
7
8int main() {
9        for(1000) {
10                Parker parker;
11                unpark( parker );
12        }
13        printf( "done\n" );                                                                     // non-empty .expect file
14}
Note: See TracBrowser for help on using the repository browser.