This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATA_SIZE_WITHOUT_PADDING = 7 | |
DATA_SIZE_WITH_PADDING = 8 | |
ITERATIONS = 1000000 | |
HOSTNAME = localhost | |
PORT = 8000 | |
################################################################################ | |
CC = gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with Ada.Interrupts; | |
with Ada.Interrupts.Names; | |
with Servers; | |
package body Application is | |
pragma Interrupt_State ( | |
Name => Ada.Interrupts.Names.SIGINT, | |
State => USER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: server | |
server: server.c | |
clang -Wall -Wextra -std=c99 -pedantic -g -levent -o server server.c | |
clean: | |
rm -rf server server.dSYM |