Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .githooks/readme-template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# libcoro C++20 coroutine library

[![CI](https://github.com/jbaldwin/libcoro/workflows/build/badge.svg)](https://github.com/jbaldwin/libcoro/workflows/build/badge.svg)
[![CI](https://github.com/jbaldwin/libcoro/actions/workflows/ci-coverage.yml/badge.svg)](https://github.com/jbaldwin/libcoro/actions/workflows/ci-coverage.yml)
[![Coverage Status](https://coveralls.io/repos/github/jbaldwin/libcoro/badge.svg?branch=main)](https://coveralls.io/github/jbaldwin/libcoro?branch=main)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c190d4920e6749d4b4d1a9d7d6687f4f)](https://www.codacy.com/gh/jbaldwin/libcoro/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jbaldwin/libcoro&utm_campaign=Badge_Grade)
[![language][badge.language]][language]
Expand Down Expand Up @@ -41,6 +41,11 @@
- coro::net::udp::peer
* [Example TCP/HTTP Echo Server](#tcp_echo_server)

* [Requirements](#requirements)
* [Build Instructions](#build-instructions)
* [Testing](#tests)
* [Support](#support)

## Usage

### A note on co_await
Expand Down Expand Up @@ -396,13 +401,15 @@ Transfer/sec: 18.33MB
openssl
gcov/lcov (For generating coverage only)

### Instructions
### Build Instructions

#### Tested Distos
#### Tested Operating Systems

* ubuntu:20.04, 22.04
* fedora:32-37
* fedora:32-40
* openSUSE/leap:15.2
* Windows 2022
* Emscripten 3.1.45

#### Cloning the project
This project uses git submodules, to properly checkout this project use:
Expand Down
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# libcoro C++20 coroutine library

[![CI](https://github.com/jbaldwin/libcoro/workflows/build/badge.svg)](https://github.com/jbaldwin/libcoro/workflows/build/badge.svg)
[![CI](https://github.com/jbaldwin/libcoro/actions/workflows/ci-coverage.yml/badge.svg)](https://github.com/jbaldwin/libcoro/actions/workflows/ci-coverage.yml)
[![Coverage Status](https://coveralls.io/repos/github/jbaldwin/libcoro/badge.svg?branch=main)](https://coveralls.io/github/jbaldwin/libcoro?branch=main)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c190d4920e6749d4b4d1a9d7d6687f4f)](https://www.codacy.com/gh/jbaldwin/libcoro/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jbaldwin/libcoro&utm_campaign=Badge_Grade)
[![language][badge.language]][language]
Expand Down Expand Up @@ -41,6 +41,11 @@
- coro::net::udp::peer
* [Example TCP/HTTP Echo Server](#tcp_echo_server)

* [Requirements](#requirements)
* [Build Instructions](#build-instructions)
* [Testing](#tests)
* [Support](#support)

## Usage

### A note on co_await
Expand Down Expand Up @@ -1099,13 +1104,15 @@ Transfer/sec: 18.33MB
openssl
gcov/lcov (For generating coverage only)

### Instructions
### Build Instructions

#### Tested Distos
#### Tested Operating Systems

* ubuntu:20.04, 22.04
* fedora:32-37
* fedora:32-40
* openSUSE/leap:15.2
* Windows 2022
* Emscripten 3.1.45

#### Cloning the project
This project uses git submodules, to properly checkout this project use:
Expand Down
2 changes: 2 additions & 0 deletions include/coro/io_scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ class io_scheduler
/// Tasks that have their ownership passed into the scheduler. This is a bit strange for now
/// but the concept doesn't pass since io_scheduler isn't fully defined yet.
/// The type is coro::task_container<coro::io_scheduler>*
/// Do not inline any functions that use this in the io_scheduler header, it can cause the linker
/// to complain about "defined in discarded section" because it gets defined multiple times
void* m_owned_tasks{nullptr};

static constexpr const int m_shutdown_object{0};
Expand Down