LuhBezerra / pi-parallel-processing

application for distributed calculation of the number π, using TCP sockets and threads for communication between server and client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cálculo do número PI em C

Neste projeto é feito o cálculo do número PI usando threads e sockets. Dispomos de dois modos que são: 1 -> Interativo, 2 -> Lote.

Getting Started

Abaixo as instruções para executar a aplicação.

Pré-requisito

Sistema linux.

Compilação

Servidor:

gcc server.c -o server -lpthread -lm

Cliente(s):

gcc client.c -o client -lm

Execução

Servidor:

./server <parcelas> <clientes> <modo>

Cliente(s):

./client

About

application for distributed calculation of the number π, using TCP sockets and threads for communication between server and client.


Languages

Language:C 100.0%