Changeset 9fe39530


Ignore:
Timestamp:
Sep 27, 2017, 4:06:41 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
e4ea10b7
Parents:
e2b17a4
Message:

Added test for external scheduling testing when and recursion

Location:
src/tests
Files:
4 added
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • src/tests/sched-ext-barge.c

    re2b17a4 r9fe39530  
     1//---------------------------------------------------------
     2// Barging test
     3// Ensures that no barging can occur between :
     4//   - the frontend of the waitfor and the waited call
     5//   - the waited call and the backend of the waitfor
     6//---------------------------------------------------------
     7
    18#include <fstream>
    29#include <kernel>
  • src/tests/sched-int-barge.c

    re2b17a4 r9fe39530  
    1 #include <fstream>
    2 #include <kernel>
    3 #include <monitor>
    4 #include <stdlib>
    5 #include <thread>
    6 
    71//----------------------------------------------------------------------------------------
    82//----------------------------------------------------------------------------------------
     
    126//----------------------------------------------------------------------------------------
    137//----------------------------------------------------------------------------------------
     8
     9#include <fstream>
     10#include <kernel>
     11#include <monitor>
     12#include <stdlib>
     13#include <thread>
    1414
    1515static const unsigned long N = 50_000ul;
  • src/tests/sched-int-block.c

    re2b17a4 r9fe39530  
     1//---------------------------------------------------------
     2// Barging test
     3// Ensures that no barging can occur between :
     4//   - the frontend of the signal_block and the signaled thread
     5//   - the signaled  threadand the backend of the signal_block
     6//---------------------------------------------------------
     7
     8
    19#include <fstream>
    210#include <kernel>
  • src/tests/sched-int-wait.c

    re2b17a4 r9fe39530  
     1//---------------------------------------------------------
     2// Multi wait test
     3// Ensures that no deadlock from waiting/signalling conditions
     4//---------------------------------------------------------
     5
     6
    17#include <fstream>
    28#include <kernel>
Note: See TracChangeset for help on using the changeset viewer.