Skip to content

Commit

Permalink
Use plural instead of dual number
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfetter authored Feb 19, 2020
1 parent 18106e2 commit 8d73b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ is handle in [worker.h](../src/include/worker.h) ([worker.c](../src/libpgagroal/

## Shared memory

A memory segment ([shmem.h](../src/include/shmem.h)) is shared between all processes which contains the `pgagroal`
A memory segment ([shmem.h](../src/include/shmem.h)) is shared among all processes which contains the `pgagroal`
state containing the configuration of the pool, the list of servers and the state of each connection.

The configuration of `pgagroal` (`struct configuration`), the configuration of the servers (`struct server`) and
Expand Down Expand Up @@ -43,7 +43,7 @@ These state are defined in [pgagroal.h](../src/include/pgagroal.h).
The `pgagroal` pool API is defined in [pool.h](../src/include/pool.h) ([pool.c](../src/libpgagroal/pool.c)).

This API defines the functionality of the pool such as getting a connection from the pool, and returning it.
There is no ordering between processes, so a newly created process can obtain a connection before an older process.
There is no ordering among processes, so a newly created process can obtain a connection before an older process.

The pool operates on the `struct connection` data type defined in [pgagroal.h](../src/include/pgagroal.h).

Expand Down

0 comments on commit 8d73b67

Please sign in to comment.