Changeset c2df3031 for benchmark/io


Ignore:
Timestamp:
Jan 21, 2021, 1:47:48 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
6387f07
Parents:
a6b587f
Message:

server now properly ignores SIGPIPE

File:
1 edited

Legend:

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

    ra6b587f rc2df3031  
    66#include <unistd.h>
    77extern "C" {
     8        #include <signal.h>
    89        #include <sys/socket.h>
    910        #include <netinet/in.h>
     
    7879//============================================================================================='
    7980int main( int argc, char * argv[] ) {
     81        __sighandler_t s = 1p;
     82        signal(SIGPIPE, s);
     83
    8084        //===================
    8185        // Parse args
Note: See TracChangeset for help on using the changeset viewer.