Skip to content

Commit

Permalink
fixed some small errors (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus authored and ColdenCullen committed Apr 8, 2019
1 parent 269acd3 commit 95ad1ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ definitions that may be helpful.

### Run-time Polymorphic
This means that the API is driven by a virtual-table. This is simply a struct of function pointers. They are invoked via
a c extern style API, but ultimately those public functions simply invoke the cooresponding function in the v-table.
a c extern style API, but ultimately those public functions simply invoke the corresponding function in the v-table.

These are reserved for types that:
a.) Need to be configurable, changable at runtime
Expand Down Expand Up @@ -349,7 +349,7 @@ This function is invoked when the event loop is finished processing and is ready
int (*run) (struct aws_event_loop *);

This function starts the running of the event loop and then immediately returns. This could kick off a thread, or setup some resources to run and
recieve events in a back channel API. For example, you could have an epoll loop that runs in a thread, or you could have an event loop pumped by a system
receive events in a back channel API. For example, you could have an epoll loop that runs in a thread, or you could have an event loop pumped by a system
loop such as glib, or libevent etc... and then publish events to your event loop implementation.

int (*stop) (struct aws_event_loop *,
Expand Down Expand Up @@ -724,4 +724,4 @@ Reads from the socket. This call is non-blocking and will return `AWS_IO_SOCKET_
int aws_socket_write(struct aws_socket *socket, const struct aws_byte_buf *buffer, size_t *written);

Writes to the socket. This call is non-blocking and will return `AWS_IO_SOCKET_WRITE_WOULD_BLOCK` if no data could be written.
`written` is the amount of data read from `buffer` and successfully written to `socket`.
`written` is the amount of data read from `buffer` and successfully written to `socket`.

0 comments on commit 95ad1ca

Please sign in to comment.