source: benchmark/io/http/worker.hfa @ d43a1fe

ADTast-experimentalenumpthread-emulationqualifiedEnum
Last change on this file since d43a1fe was 4f762d3, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Fix httpforall after changes to I/O

  • Property mode set to 100644
File size: 462 bytes
Line 
1#pragma once
2
3#include <thread.hfa>
4
5extern "C" {
6        #include <sys/socket.h>
7}
8
9//=============================================================================================
10// Worker Thread
11//=============================================================================================
12
13thread Worker {
14        int pipe[2];
15        int sockfd;
16        struct sockaddr * addr;
17        socklen_t * addrlen;
18        int flags;
19        volatile bool done;
20};
21void ?{}( Worker & this);
22void main( Worker & );
Note: See TracBrowser for help on using the repository browser.