2
0
mirror of https://github.com/boostorg/cobalt.git synced 2026-01-19 04:02:16 +00:00

54 Commits

Author SHA1 Message Date
Klemens Morgenstern
0f502f36fc composition is not experimental anymore.
composition fix for immediate completion.
2025-06-24 18:15:10 +08:00
Klemens Morgenstern
6e5713de52 [io] echo_server example used io. 2025-06-24 18:15:10 +08:00
René Ferdinand Rivera Morell
a0e31a297a Add support for modular build structure. (#192)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* fix promise & generator operator=

* added fno-exceptions support.

* added experimental context support.

* support for asio::yield_context

* Add missing NO_LIB usage requirements.

* added noop utility

closes #3

* added support for __cpp_sized_deallocation in custom coroutine allocations.

(non-apple) clang is weird, as it allowed sized deallocations on coroutine promises even when not enabled otherwise.
Since apple does not, this should fix using cobalt on apple.

* Add missing import-search for cconfig/predef checks.

* Add requires-b2 check to top-level build file.

* Update dependencies.

* Fix -Wreorder flagging

If using -Werror=reorder via some cmake build or otherwise, this gets flagged.

* added move support for channels

Closes #183

* fixed ctor so any works.

Closes #182

* added noinline ot channel functions when compiling for windows.

* removed move_only template inst from channel.cpp

* Declared test targets with EXCLUDE_FROM_ALL

Closes #181.

* added generate-diagram option & cache

* Cleaned up CML.

Closes #135.

* Bump B2 require to 5.2

* Move inter-lib dependencies to a project variable and into the build targets.

* Move custom features to importable jam.

---------

Co-authored-by: Klemens Morgenstern <klemens.d.morgenstern@gmail.com>
Co-authored-by: Jonathan Stein <Jonathan.Stein@mavensecurities.com>
2024-08-26 20:05:54 +08:00
Klemens
820f9c3906 python example missing rename fix. 2023-12-06 07:45:21 +08:00
Klemens Morgenstern
c83c599e99 added conditional boost-container requirements to example & test. 2023-10-18 14:05:53 +08:00
Klemens Morgenstern
5fcc206701 added libraries.json & cleaned up cmake. 2023-10-17 23:06:47 +08:00
Klemens Morgenstern
6319f90332 build script cleanup. 2023-10-17 22:49:55 +08:00
Klemens Morgenstern
f103acc9ff started on custom_executor docs. 2023-10-16 21:51:06 +08:00
Klemens Morgenstern
45901641ac renamed to cobalt. 2023-10-16 21:42:07 +08:00
Klemens Morgenstern
03380b6a46 renamed select to race. 2023-10-16 21:42:07 +08:00
Klemens Morgenstern
783cdb2ea7 removed logic_error usage. 2023-10-12 12:30:59 +08:00
Klemens Morgenstern
b78e458235 removed get_associated_allocator from spsc example. 2023-10-10 13:40:44 +08:00
Matthijs Möhlmann
ab18a58c4b make the ticker example work with boost 1.83.0 2023-09-07 15:57:20 +08:00
Klemens Morgenstern
61ab303be7 more docs additions.
Incorporates much of #100.
2023-09-05 11:00:59 +08:00
Klemens Morgenstern
762dae6e88 doc additions. 2023-09-05 11:00:59 +08:00
Klemens Morgenstern
d96a82a977 added spsc example. 2023-09-04 13:47:45 +08:00
Klemens Morgenstern
aa057b3f83 added public unique_handle. 2023-08-29 18:03:14 +08:00
Klemens Morgenstern
2774a06b05 removed pro_active. 2023-08-29 17:44:08 +08:00
Klemens Morgenstern
a016fe0ad9 warning fixes 2023-08-24 22:52:10 +08:00
Klemens
6cdc2ce214 simplified self_destroy for MT. 2023-08-04 02:28:01 +08:00
Klemens Morgenstern
0be701a896 added thread_pool example. 2023-08-04 02:28:01 +08:00
Klemens Morgenstern
cf9f16e502 cmake - python & nanobind imports are optional. 2023-08-04 02:28:01 +08:00
Klemens
9da2486358 added thread example. 2023-08-04 02:28:01 +08:00
Klemens
31d7bfc71b added python example. 2023-08-03 11:02:41 +08:00
Matthijs Möhlmann
e1f1d8e4be set the required header Host on an http request with version 1.1 (see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/host) 2023-08-02 02:48:15 +08:00
Klemens
27d4718636 added http example, thanks @matthijs 2023-07-31 12:52:58 +08:00
Klemens
8403ea9ad4 removed errornous line from example. 2023-07-28 01:30:14 +08:00
Klemens
f38cee5dac example cmake script fix. 2023-07-27 13:46:23 +08:00
Klemens
0af612e522 channel doc example fix
closes #56.
2023-07-27 11:21:14 +08:00
Klemens
cf3a6a7b07 with redux. 2023-07-25 21:30:33 +08:00
Klemens
3883a482de cancellation fixes. 2023-07-17 12:22:17 +08:00
Klemens
08f008570d removed async_operation. 2023-07-17 02:00:03 +08:00
Klemens
cbb40a5c89 defaulted to any_io_executor. 2023-07-14 22:20:46 +08:00
Klemens
75f2b92c24 doc update. 2023-07-14 22:20:46 +08:00
Klemens
d356e5f950 made ticker optional, depending on whether or not json is found. 2023-07-14 22:20:30 +08:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
32d5429a4b Minor fixes from getting it to build first time. 2023-07-13 19:08:28 +08:00
Klemens Morgenstern
b7dd559faa simplified op. 2023-07-11 20:00:23 +08:00
Klemens Morgenstern
d1d29805cd renamed executor_type to executor. 2023-07-01 16:17:32 +08:00
Klemens Morgenstern
74f2ea7834 added config & made executor_type pickable. 2023-06-30 23:50:47 +08:00
Klemens
1908060a93 multiple warning fixes and added Jam 2023-03-27 22:32:38 +08:00
Klemens
9f746882eb updated ticker example. 2023-03-17 22:54:06 +08:00
Klemens
84317d0121 doc updates 2023-03-17 13:54:34 +08:00
Klemens
a633419b66 added more docs to channel. 2023-03-15 10:45:26 +08:00
Klemens
afe5c24a1f Renamed wait to gather. 2023-03-14 20:20:39 +08:00
Klemens
78cc6d9e44 removed suppress. 2023-02-28 11:38:13 +08:00
Klemens
f1b0965d7a added delay_op. 2023-02-28 10:27:01 +08:00
Klemens
9ef5f7e5ed simplified delay example. 2023-02-27 19:33:39 +08:00
Klemens
48acdf094b started on tutorial. 2023-02-27 18:04:55 +08:00
Klemens
29f3513299 added suppress example. 2023-02-27 12:05:08 +08:00
Klemens
2b34c6f38b ticker example. 2023-02-25 21:46:29 +08:00