Ignore:
Timestamp:
Nov 3, 2021, 11:45:25 AM (11 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
7dd98b6
Parents:
a7026b4
Message:

Modified httpforall not to use VLA of threads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/main.cfa

    ra7026b4 r3eb540fb  
    190190                        init_protocol();
    191191                        {
    192                                 Worker workers[options.clopts.nworkers];
     192                                Worker * workers = anew(options.clopts.nworkers);
    193193                                for(i; options.clopts.nworkers) {
    194194                                        // if( options.file_cache.fixed_fds ) {
     
    250250
    251251                                sout | "Stopping connection threads..." | nonl; flush( sout );
     252                                adelete(workers);
    252253                        }
    253254                        sout | "done";
Note: See TracChangeset for help on using the changeset viewer.