Ignore:
Timestamp:
Jul 11, 2017, 3:11:42 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:
f2b12406
Parents:
67f2170
Message:

Cleaned long tests to be more consistent and offer more debug information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/preempt_longrun/yield.c

    r67f2170 r0322865c  
    1010}
    1111
    12 thread Worker {};
     12thread worker_t {};
    1313
    14 void main(Worker * this) {
     14void main(worker_t * this) {
    1515        for(int i = 0; i < 325_000ul; i++) {
    1616                yield();
     
    1818}
    1919
     20extern "C" {
     21static worker_t * workers;
     22}
     23
    2024int main(int argc, char* argv[]) {
    2125        processor p;
    2226        {
    23                 Worker w[7];
     27                worker_t w[7];
     28                workers = w;
    2429        }
    2530}
Note: See TracChangeset for help on using the changeset viewer.