Ignore:
Timestamp:
Jul 25, 2022, 12:47:05 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
1f950c3b
Parents:
970fa54
Message:

Fixed some benchmarks that were still using stack arrays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/churn.cfa

    r970fa54 r8fe35be  
    5858
    5959                        threads_left = nthreads;
    60                         BThrd * threads[nthreads];
     60                        BThrd ** threads = alloc(nthreads);
    6161                        for(i; nthreads ) {
    6262                                BThrd & t = *(threads[i] = malloc());
     
    9090
    9191                        free(spots);
     92                        free(threads);
    9293                }
    9394
Note: See TracChangeset for help on using the changeset viewer.