2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-01-19 04:12:09 +00:00

1960 Commits

Author SHA1 Message Date
Oliver Kowalke
238487b543 fix property numa boost-1.90.0.beta1 boost-1.90.0 boost-1.89.0 boost-1.88.0 2025-02-21 15:28:56 +01:00
Oliver Kowalke
048952639a Merge pull request #324 from eoan-ermine/hash
Implement std::hash for boost::fibers::context::id
2024-12-26 08:21:59 +01:00
Danil Sidoruk
4eb7c3210f Implement std::hash for boost::fibers::context::id 2024-09-12 21:09:41 +03:00
Oliver Kowalke
7838ab09d7 Merge pull request #315 from brad0/boost_fiber_futex_openbsd
futex: add support for OpenBSD
boost-1.87.0 boost-1.88.0.beta1 boost-1.87.0.beta1
2024-08-28 12:52:36 +02:00
Oliver Kowalke
530bc5ea82 Merge pull request #320 from xiaodaxia-2008/fix_dllimport_error
remove BOOST_FIBERS_DECL on function definition
2024-08-28 12:52:00 +02:00
Oliver Kowalke
2193e6d110 Merge pull request #322 from grafikrobot/modular
Add support for modular build structure.
2024-08-18 20:46:55 +02:00
Rene Rivera
01578e9635 Split b2 dependencies into public and private. 2024-07-26 12:48:26 -05:00
Rene Rivera
676537675c Move inter-lib dependencies to a project variable and into the build targets. 2024-07-23 22:34:24 -05:00
Rene Rivera
f5e218f95e Update copyright dates. 2024-07-20 22:52:05 -05:00
Rene Rivera
7e1479b691 Bump B2 require to 5.2 2024-06-14 11:33:55 -05:00
Brad Smith
d486740347 futex: add support for OpenBSD 2024-05-29 20:52:54 -04:00
xiaodaxia
6bbb63a374 remove BOOST_FIBERS_DECL on function definition 2024-05-28 14:22:17 +08:00
Rene Rivera
c47ed65214 Add requires-b2 check to top-level build file. 2024-05-05 09:00:01 -05:00
Rene Rivera
2a16362e2d Add missing import-search for cconfig/predef checks. 2024-05-04 23:29:18 -05:00
Rene Rivera
cc33df329e Add missing NO_LIB usage requirements. 2024-04-28 20:15:11 -05:00
Rene Rivera
178724c1c1 Switch to library requirements instead of source. As source puts extra source in install targets. 2024-03-29 21:15:58 -05:00
Rene Rivera
eafb83ae82 Make the library modular usable. 2024-03-11 08:38:17 -05:00
Oliver Kowalke
fc796a2a11 Merge pull request #312 from Hailios/avoid_aligned_storage
avoid deprecated std::aligned_storage
2023-12-24 08:11:58 +01:00
Oliver Kowalke
ae1f491ea5 Merge pull request #313 from brad0/fiber_cpu_relax_powerpc
Unbreak fiber for ELF PowerPC building with Clang
2023-12-24 08:11:17 +01:00
Brad Smith
4d776f7e5d Unbreak fiber for ELF PowerPC building with Clang
Clang also defines the uppercase __POWERPC__ symbol so the commit
2bd8eb02f8 breaks the build on ELF
PowerPC systems. Since we know this is already a PowerPC system
with BOOST_ARCH_PPC then check for the vendor __APPLE__ instead.
2023-12-23 18:12:03 -05:00
Jakob Lovhall
baca65edde avoid deprecated std::aligned_storage 2023-12-12 19:19:13 +01:00
Oliver Kowalke
88b8304e78 Merge pull request #277 from Romain-Geissler-1A/develop
[RFC] Introduce boost::fibers::initialize_thread to be able to customize th…
boost-1.84.0.beta1 boost-1.86.0.beta1 boost-1.86.0 boost-1.85.0.beta1 boost-1.85.0 boost-1.84.0
2023-10-01 17:08:04 +02:00
Oliver Kowalke
2e3594c8fb Merge pull request #282 from shredingu/fix_bufferedChannelHang
fix buffered_channel of issue #256 - bug in spinlock_ttas
2023-08-18 07:24:02 +02:00
Oliver Kowalke
a574cf912e Merge pull request #307 from Davidoc26/develop
Fix some typos in buffered_channel.qbk
2023-08-18 07:21:59 +02:00
Oliver Kowalke
7ae934587b Merge pull request #306 from barracuda156/darwin
Unbreak fiber for macOS PPC
2023-08-18 07:21:29 +02:00
David Eritsyan
55ec46e13e Fix some typos in buffered_channel.qbk 2023-06-22 14:30:03 +04:00
Sergey Fedorov
2bd8eb02f8 Unbreak fiber for macOS PPC 2023-05-14 17:05:51 +08:00
Oliver Kowalke
2cb72f5dce disable warning related to unused parameter
- #302
boost-1.83.0.beta1 boost-1.83.0 boost-1.82.0.beta1 boost-1.82.0
2022-11-30 08:16:19 +01:00
Oliver Kowalke
3e1770607c Merge pull request #281 from yhsb2k/develop
Fix build with cmake and MinGW
boost-1.80.0 boost-1.81.0.beta1 boost-1.81.0
2022-06-12 17:46:24 +02:00
Oliver Kowalke
3ecffb423b Merge pull request #296 from PooyaEimandar/patch-1
fix std::result_of for cpp20
2022-04-25 15:23:48 +02:00
PooyaEimandar
a6b64c9a69 fix std::result_of for cpp20
Fix std::result_of for cpp20
2022-04-25 17:14:58 +04:30
Oliver Kowalke
71f5b89bd1 Merge pull request #294 from ecatmur/patch-1
Add missing const on comparison operators
2022-03-29 13:02:19 +02:00
Ed Catmur
b99c41f494 Add missing const on comparison operators
This is detected as an error in C++20 (spaceship) in clang 14, since the operators become ambiguous against reversed candidates.
2022-03-29 11:48:40 +01:00
Oliver Kowalke
db44baba88 Merge pull request #292 from kraj/develop
futex: fix build on 32-bit architectures using 64-bit time_t
boost-1.80.0.beta1 boost-1.79.0.beta1 boost-1.79.0
2022-02-21 07:18:01 +01:00
Khem Raj
ec7768b68d futex: fix build on 32-bit architectures using 64-bit time_t
Fix the following build failure on 32-bit architectures using 64-bit
time_t (e.g. riscv32):
| ./boost/fiber/detail/futex.hpp:31:23: error: use of undeclared identifier 'SYS_futex'
|     return ::syscall( SYS_futex, addr, op, x, nullptr, nullptr, 0);
|                       ^
| 1 error generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-20 22:16:21 -08:00
Oliver Kowalke
8d0fe6055a add dependency to fiber lib 2021-12-29 18:42:41 +01:00
Oliver Kowalke
87b46f3196 Merge pull request #284 from lowsfer/fiber-ctor-with-prop
Allow setting fiber properties on construction
boost-1.78.0
2021-10-02 22:37:28 +02:00
Yao Yao
89beeb378b Allow setting fiber properties on construction 2021-09-22 11:19:57 +08:00
A.Abelha
d54f46d13c use existing active_ctx local variable instead. 2021-09-03 12:36:39 +01:00
A.Abelha
04084741d5 missing lock 2021-09-03 12:32:42 +01:00
A.Abelha
4412ff1161 fix buffered_channel of issue #256 - bug in spinlock_ttas 2021-09-03 11:06:54 +01:00
yhsb2k
fd2b462756 Fix build with cmake and MinGW 2021-08-23 23:20:08 +03:00
Oliver Kowalke
df1196705b default constructor should implicitly noexcept 2021-07-05 20:23:24 +02:00
Peter Dimov
c69de2048d cxx_std_11 requires 3.8 boost-1.77.0 boost-1.78.0.beta1 boost-1.77.0.beta1 2021-06-05 03:39:36 +03:00
Peter Dimov
61fe72cd89 Add target_compile_features, Fiber requires C++11 to build 2021-06-01 23:01:17 +03:00
Peter Dimov
a4ac1ad683 Add CMakeLists.txt 2021-06-01 22:26:59 +03:00
Peter Dimov
92907c54bc Merge branch 'master' into develop 2021-06-01 21:52:53 +03:00
Romain Geissler
3f2c369707 Introduce boost::fibers::initialize_thread to be able to customize the dispatching coroutine stack allocator. 2021-05-11 23:41:19 +00:00
Oliver Kowalke
58c75807fc Merge pull request #276 from neheb/patch-1
cpu_relax: fixup MIPS check for 64-bit
2021-04-11 19:37:51 +02:00
Rosen Penev
5dc9dabc5d cpu_relax: fixup MIPS check for 64-bit
It turns out that this is also broken on mips64el. Further testing
reveals that

-mips32r2 -mtune=mips32r2 -mabi=32

compiles the PAUSE instruction just fine whereas

-mips64r2 -mtune=mips64r2 -mabi=64

does not. The PAUSE instruction was introduced in version 2.6 of the
MIPS ISA and GCC for some reason does not allow usage of it with MIPS64.
Modify the macro to fix the situation instead of just matching on
octeon, which is not quite correct.
2021-04-11 01:32:07 -07:00