1
0
Fork 0
mirror of https://gitlab.com/niansa/libcrosscoro.git synced 2025-03-06 20:53:32 +01:00
Commit graph

27 commits

Author SHA1 Message Date
niansa
273d0a5bbb Minor fix in README.md 2021-07-28 10:11:26 +00:00
Nils
8dbad30d2c Minor cleanups and finished rename 2021-07-28 12:08:13 +02:00
Nils
c7612f5dba Updated readme and deleted githooks 2021-07-28 12:01:32 +02:00
Nils
d1263aebd7 Removed non-STL components 2021-07-28 11:43:57 +02:00
Josh Baldwin
5de38b2d60
Issue 88/opensuse ci (#92)
* fix up g++ 11 warnings for unused return values
* Add opensuse/leap:15.2 CI build
* Add __attribute__((used)) for template functions

openSUSE/leap gcc on Release build seems to be aggressively
removing templates that are actually required, the used attribute
will force the compiler to leave them in.
2021-07-25 15:27:51 -06:00
Josh Baldwin
475bcf6d8b
std::shared_ptr<executor_type> for coro::shared_mutex (#86)
* std::shared_ptr<executor_type> for coro::shared_mutex

* implement remaining types that leverage executor or io_scheduler
2021-05-22 22:36:57 -06:00
Josh Baldwin
78b6e19927
Update docs on io_scheduler for inline processing (#84)
* Update docs on io_scheduler for inline processing

Support gcc 10.3.1 (fedora 33 updated)
Update ci.yml to run fedora 32,33,34 and support both
gcc 10.2.1 and 10.3.1

* fedora 32 -> gcc-c++ drop version

* Update ci.yml and test_latch.cpp
2021-05-22 19:58:46 -06:00
Josh Baldwin
19d626c1fb
coro::mutex remove std::mutex requirement, only 1 atomic with CAS (#71) 2021-02-27 14:46:37 -07:00
Josh Baldwin
fab634154f
Update README with section links (#70)
* Update README with section links

* add # to links

* try event instead of coro::event

* Update section names to remove "::" since markdown doesn't seem to link
properly with them
2021-02-27 12:33:42 -07:00
Josh Baldwin
078d18f7fe
coro::shared_mutex (#67) 2021-02-27 12:04:49 -07:00
Josh Baldwin
c1acf8b80d
coro::semaphore (#65)
* coro::semaphore

* coro::ring_buffer<E, N>
2021-02-23 11:05:21 -07:00
Josh Baldwin
6a2f398f9a
coro::when_all() always takes ownership (#63) 2021-02-17 10:50:51 -07:00
Josh Baldwin
4aee0dc6f8
coro::task_container example (#58) 2021-02-15 20:17:11 -07:00
Josh Baldwin
60a74af219
io_scheduler example (#57) 2021-02-15 18:52:45 -07:00
Josh Baldwin
e1e52b1400
Add SSL/TLS support for TCP client/server via OpenSSL (#54)
* Add SSL/TLS support for TCP client/server via OpenSSL

* Comments addressed
2021-02-15 14:01:48 -07:00
Josh Baldwin
730928e8b5
Add coro::thread_pool example (#52) 2021-01-31 18:05:01 -07:00
Josh Baldwin
5ad45c3848
Add coro::task<T> example (#48)
* Add coro::task<T> example

* remove std::move on return statement in task example
2021-01-31 13:56:48 -07:00
Josh Baldwin
cb335b4474
Add coro::generator<T> example (#46) 2021-01-31 13:05:37 -07:00
Josh Baldwin
60994334fe
Add coro::mutex example to readme (#45)
* Add coro::mutex example to readme

* explicit lock_operation ctor

* lock_operation await_ready() uses try_lock

This allows for the lock operation to skip await_suspend() entirely
if the lock was unlocked.
2021-01-30 16:09:31 -07:00
Josh Baldwin
80fea9c49a
io_scheduler uses thread pool to schedule work (#42)
* io_scheduler uses thread pool to schedule work

fixes #41

* use task_container in bench tcp server test

* adjust benchmark for github actions CI

* fix io_scheduler tests cross thread memory boundaries

* more memory barriers

* sprinkle some shutdowns in there

* update readme
2021-01-24 19:34:39 -07:00
Josh Baldwin
95127e2f6e
Add coro::latch example (#40) 2021-01-17 11:38:14 -07:00
Josh Baldwin
03f78e2360
codacy and lgtm analysis (#37) 2021-01-16 20:51:37 -07:00
Josh Baldwin
8a64687510
coro::mutex (#35) 2021-01-16 20:27:11 -07:00
Josh Baldwin
1a2ec073ca
Add tests for tasks that throw (#4)
* Add tests for tasks that throw

* Additional task types for throwing coverage
2020-10-12 17:29:47 -06:00
Josh Baldwin
31dded8611
Add CI & code coverage (#2)
* Add CI & code coverage

* Remove un-used -lzmq dependency

* Update readme with coverage/background/goals
2020-10-11 18:23:05 -06:00
jbaldwin
bfe97a12b4 task and async_manual_reset_event 2020-09-07 18:21:40 -06:00
Josh Baldwin
da140b9319
Initial commit 2020-09-07 12:56:57 -06:00