Changeset 73abe95 for tests/concurrent


Ignore:
Timestamp:
Aug 6, 2018, 2:50:03 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
58b6d1b
Parents:
ff593a3
Message:

Replace extension-less headers with .hfa

Location:
tests/concurrent
Files:
21 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/coroutineYield.c

    rff593a3 r73abe95  
    1 #include <fstream>
    2 #include <kernel>
    3 #include <stdlib>
    4 #include <thread>
    5 #include <time>
     1#include <fstream.hfa>
     2#include <kernel.hfa>hfa>
     3#include <stdlib.hfa>
     4#include <thread.hfa>
     5#include <time.hfa>
    66
    77#define __kick_rate 150000ul
  • tests/concurrent/examples/boundedBufferEXT.c

    rff593a3 r73abe95  
    1212//
    1313
    14 #include <stdlib>                                                                               // random
    15 #include <fstream>
    16 #include <kernel>
    17 #include <thread>
     14#include <stdlib.hfa>                                                                           // random
     15#include <fstream.hfa>
     16#include <kernel.hfa>
     17#include <thread.hfa>
    1818#include <unistd.h>                                                                             // getpid
    1919
  • tests/concurrent/examples/boundedBufferINT.c

    rff593a3 r73abe95  
    1212//
    1313
    14 #include <stdlib>                                                                               // random
    15 #include <fstream>
    16 #include <kernel>
    17 #include <thread>
     14#include <stdlib.hfa>                                                                           // random
     15#include <fstream.hfa>
     16#include <kernel.hfa>
     17#include <thread.hfa>
    1818#include <unistd.h>                                                                             // getpid
    1919
  • tests/concurrent/examples/datingService.c

    rff593a3 r73abe95  
    1212//
    1313
    14 #include <stdlib>                                                                               // random
    15 #include <fstream>
    16 #include <kernel>
    17 #include <thread>
     14#include <stdlib.hfa>                                                                           // random
     15#include <fstream.hfa>
     16#include <kernel.hfa>
     17#include <thread.hfa>
    1818#include <unistd.h>                                                                             // getpid
    1919
  • tests/concurrent/examples/matrixSum.c

    rff593a3 r73abe95  
    1 //                               -*- Mode: C -*- 
    2 // 
     1//                               -*- Mode: C -*-
     2//
    33// Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo
    44//
    55// The contents of this file are covered under the licence agreement in the
    66// file "LICENCE" distributed with Cforall.
    7 // 
    8 // matrixSum.c -- 
    9 // 
     7//
     8// matrixSum.c --
     9//
    1010// Author           : Peter A. Buhr
    1111// Created On       : Mon Oct  9 08:29:28 2017
     
    1313// Last Modified On : Fri May 25 09:34:27 2018
    1414// Update Count     : 10
    15 // 
     15//
    1616
    17 #include <fstream>
    18 #include <kernel>
    19 #include <thread>
     17#include <fstream.hfa>
     18#include <kernel.hfa>
     19#include <thread.hfa>
    2020
    2121thread Adder {
  • tests/concurrent/examples/quickSort.c

    rff593a3 r73abe95  
    1313//
    1414
    15 #include <fstream>
    16 #include <stdlib>
    17 #include <kernel>
    18 #include <thread>
     15#include <fstream.hfa>
     16#include <stdlib.hfa>
     17#include <kernel.hfa>
     18#include <thread.hfa>
    1919#include <string.h>                                                                             // strcmp
    2020
  • tests/concurrent/monitor.c

    rff593a3 r73abe95  
    1 #include <fstream>
    2 #include <kernel>
    3 #include <monitor>
    4 #include <thread>
     1#include <fstream.hfa>
     2#include <kernel.hfa>
     3#include <monitor.hfa>
     4#include <thread.hfa>
    55
    66monitor global_t {
  • tests/concurrent/multi-monitor.c

    rff593a3 r73abe95  
    1 #include <fstream>
    2 #include <kernel>
    3 #include <monitor>
    4 #include <thread>
     1#include <fstream.hfa>
     2#include <kernel.hfa>
     3#include <monitor.hfa>
     4#include <thread.hfa>
    55
    66static int global12, global23, global13;
  • tests/concurrent/preempt.c

    rff593a3 r73abe95  
    1 #include <kernel>
    2 #include <thread>
    3 #include <time>
     1#include <kernel.hfa>hfa>
     2#include <thread.hfa>
     3#include <time.hfa>
    44
    55#include "long_tests.h"
  • tests/concurrent/signal/block.c

    rff593a3 r73abe95  
    77
    88
    9 #include <fstream>
    10 #include <kernel>
    11 #include <monitor>
    12 #include <stdlib>
    13 #include <thread>
    14 #include <time>
     9#include <fstream.hfa>
     10#include <kernel.hfa>hfa>
     11#include <monitor.hfa>
     12#include <stdlib.hfa>
     13#include <thread.hfa>
     14#include <time.hfa>
    1515
    1616#include "long_tests.h"
  • tests/concurrent/signal/disjoint.c

    rff593a3 r73abe95  
    1 #include <fstream>
    2 #include <kernel>
    3 #include <monitor>
    4 #include <thread>
    5 #include <time>
     1#include <fstream.hfa>
     2#include <kernel.hfa>hfa>
     3#include <monitor.hfa>
     4#include <thread.hfa>
     5#include <time.hfa>
    66
    77#include "long_tests.h"
  • tests/concurrent/signal/wait.c

    rff593a3 r73abe95  
    55
    66
    7 #include <fstream>
    8 #include <kernel>
    9 #include <monitor>
    10 #include <stdlib>
    11 #include <thread>
    12 #include <time>
     7#include <fstream.hfa>
     8#include <kernel.hfa>hfa>
     9#include <monitor.hfa>
     10#include <stdlib.hfa>
     11#include <thread.hfa>
     12#include <time.hfa>
    1313
    1414#define __kick_rate 12000ul
  • tests/concurrent/thread.c

    rff593a3 r73abe95  
    1 #include <fstream>
    2 #include <kernel>
    3 #include <stdlib>
    4 #include <thread>
     1#include <fstream.hfa>
     2#include <kernel.hfa>
     3#include <stdlib.hfa>
     4#include <thread.hfa>
    55
    66thread First  { semaphore* lock; };
  • tests/concurrent/waitfor/barge.c

    rff593a3 r73abe95  
    66//---------------------------------------------------------
    77
    8 #include <fstream>
    9 #include <kernel>
    10 #include <monitor>
    11 #include <stdlib>
    12 #include <thread>
     8#include <fstream.hfa>
     9#include <kernel.hfa>
     10#include <monitor.hfa>
     11#include <stdlib.hfa>
     12#include <thread.hfa>
    1313
    1414#include <stdbool.h>
  • tests/concurrent/waitfor/dtor.c

    rff593a3 r73abe95  
    44//---------------------------------------------------------
    55
    6 #include <fstream>
    7 #include <kernel>
    8 #include <monitor>
    9 #include <stdlib>
    10 #include <thread>
     6#include <fstream.hfa>
     7#include <kernel.hfa>
     8#include <monitor.hfa>
     9#include <stdlib.hfa>
     10#include <thread.hfa>
    1111
    1212#include <stdbool.h>
  • tests/concurrent/waitfor/else.c

    rff593a3 r73abe95  
    1 #include <fstream>
    2 #include <monitor>
     1#include <fstream.hfa>
     2#include <monitor.hfa>
    33
    44#include <stdbool.h>
  • tests/concurrent/waitfor/parse.c

    rff593a3 r73abe95  
    88//----------------------------------------------------------------------------------------
    99
    10 #include <monitor>
     10#include <monitor.hfa>
    1111
    1212monitor M {};
  • tests/concurrent/waitfor/recurse.c

    rff593a3 r73abe95  
    44//-----------------------------------------------------------------
    55
    6 #include <fstream>
    7 #include <kernel>
    8 #include <monitor>
    9 #include <stdlib>
    10 #include <thread>
     6#include <fstream.hfa>
     7#include <kernel.hfa>
     8#include <monitor.hfa>
     9#include <stdlib.hfa>
     10#include <thread.hfa>
    1111
    1212#include <stdbool.h>
  • tests/concurrent/waitfor/simple.c

    rff593a3 r73abe95  
    1 #include <fstream>
    2 #include <kernel>
    3 #include <monitor>
    4 #include <stdlib>
    5 #include <thread>
     1#include <fstream.hfa>
     2#include <kernel.hfa>
     3#include <monitor.hfa>
     4#include <stdlib.hfa>
     5#include <thread.hfa>
    66
    77#include <time.h>
  • tests/concurrent/waitfor/statment.c

    rff593a3 r73abe95  
    1 #include <fstream>
    2 #include <kernel>
    3 #include <monitor>
    4 #include <thread>
     1#include <fstream.hfa>
     2#include <kernel.hfa>
     3#include <monitor.hfa>
     4#include <thread.hfa>
    55
    66#include <stdbool.h>
  • tests/concurrent/waitfor/when.c

    rff593a3 r73abe95  
    44//-----------------------------------------------------------------
    55
    6 #include <fstream>
    7 #include <kernel>
    8 #include <monitor>
    9 #include <stdlib>
    10 #include <thread>
     6#include <fstream.hfa>
     7#include <kernel.hfa>
     8#include <monitor.hfa>
     9#include <stdlib.hfa>
     10#include <thread.hfa>
    1111
    1212#include <stdbool.h>
Note: See TracChangeset for help on using the changeset viewer.