source: src/benchmark/create_cfaThrd.c @ d67cdb7

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since d67cdb7 was d67cdb7, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

merge

  • Property mode set to 100644
File size: 307 bytes
Line 
1#include <thread>
2#include <stdlib.h>
3#include <stdio.h>
4
5thread MyThread {};
6void main(MyThread & this) {}
7
8int main(int argc, char* argv[]) {
9        size_t n = 1000000;
10        if( argc > 2 ) return 1;
11        if( argc == 2 ) {
12                n = atoi(argv[1]);
13        }
14        printf("%lu\n", n);
15        for (size_t i = 0; i < n; i++) {
16                MyThread m;
17        }
18}
Note: See TracBrowser for help on using the repository browser.