Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mwoss/erlang-prodcons

Producent and Consumer problem solved using Erlang
https://github.com/mwoss/erlang-prodcons

erlang multithreading producer-consumer shared-memory synchronization

Last synced: 18 days ago
JSON representation

Producent and Consumer problem solved using Erlang

Awesome Lists containing this project

README

        

# Solution for producer and consumer problem using Erlang

Solution for Producer and Consumer concurrency problem using Erlang language.
Implemented solution is based on book "Programowanie współbieżne" - Weiss, Gruźlewski.

#### How to use:
```
{First, Last} = buffer:start(BUFFER_SIZE).
consumer:start(CONSUMER_AMOUNT, Last), producer:start(PRODUCER_AMOUNT, First).
```