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
b2a344a598 Merge pull request #231 from neheb/bn
treewide: Use auto where appropriate
2020-01-13 07:51:31 +01:00
Rosen Penev
99f4c7e733 treewide: Use using instead of typedef
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-12 16:14:12 -08:00
Rosen Penev
16543d141a future: Use override instead of virtual
Found with clang-tidy's cppcoreguidelines-explicit-virtual-functions

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-12 16:13:19 -08:00
Rosen Penev
ce1093bf83 treewide: Use auto where appropriate
Found with clang-tidy's modernize-use-auto

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-12 16:10:26 -08:00
Oliver Kowalke
17e8746ca1 Merge pull request #230 from niekbouman/niekbouman-fix-issue201
Fix for issue #201 and #205 : asio handler type deprecation
2020-01-12 10:48:06 +01:00
niekbouman
39253fac23 Fix issue #201: asio handler type deprecation
Fixes issue #201: 
related to a deprecation of handler_type in Asio since v1.70 
files changed: detail/yield.hpp

Fix inspired by Warchant
2020-01-11 19:30:14 +01:00
Oliver Kowalke
4cfeb6da88 Merge pull request #229 from ingomueller-net/develop
Fix #225 and #226
2020-01-08 10:18:10 +01:00
Ingo Mueller
65efebef06 Fix numa::algo::work_stealing namespace in documentation.
This resolves #226.
2020-01-08 09:05:23 +01:00
Ingo Mueller
3ef5fa9a20 Add BOOST_FIBERS_DECL to numa::algo::work_stealing class.
This resolves #225.
2020-01-08 09:02:15 +01:00
Rosen Penev
3880c03f5e treewide: Do not use else after return or throw
Found with clang-tidy's readability-else-after-return

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-07 21:07:54 -08:00
Oliver Kowalke
5b10d0f02d Merge pull request #223 from neheb/weufggwe
treewide: Use std::move where appropriate
2020-01-06 19:24:31 +01:00
Rosen Penev
fbd40d2453 treewide: Use std::move where appropriate
Found with modernize-pass-by-value

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-21 16:29:10 -08:00
Oliver Kowalke
151edb7362 Merge pull request #222 from neheb/b
properties: Use dynamic_cast for derived classes
2019-12-21 23:08:38 +01:00
Rosen Penev
5e6526a028 properties: Use dynamic_cast for derived classes
Found with clang-tidy's cppcoreguidelines-pro-type-static-cast-downcast

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-21 11:24:12 -08:00
Oliver Kowalke
9695ef4a25 Merge pull request #221 from neheb/a
treewide: Fix operator++/operator-- const
2019-12-21 07:20:16 +01:00
Rosen Penev
2e7fc9ac14 treewide: Fix operator++/operator-- const
Found with clang-tidy's cert-dcl21-cpp

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-20 18:07:34 -08:00
Oliver Kowalke
7be4f860e7 Merge pull request #220 from neheb/patch-1
cpu_relax: Fix MIPS check
2019-11-15 22:26:19 +01:00
Rosen Penev
5f7cda29ad cpu_relax: Fix MIPS check
BOOST_ARCH_MIPS as a macro is totally broken. It always gets defined to either 32
or 64 with a bunch of zeroes depending on the architecture.

Use GCC's internal define to check the architecture properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-15 12:43:50 -08:00
Oliver Kowalke
2c6c9be3a7 Merge pull request #218 from neheb/patch-1
cpu_relax: Don't use pause for MIPS under rev 2
2019-11-13 07:27:00 +01:00
Rosen Penev
15f5ef71be cpu_relax: Don't use pause for MIPS under rev 2
PAUSE was introduced in MIPS32r2.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-12 17:11:36 -08:00
Oliver Kowalke
6d74aab51f Merge branch 'develop' boost-1.72.0.beta1 boost-1.72.0 2019-10-02 08:22:22 +02:00
Oliver Kowalke
1bc393b3ba docu: support for sanitizers 2019-10-02 08:22:06 +02:00
Oliver Kowalke
eb743c32bb Merge branch 'develop' 2019-08-26 07:48:25 +02:00
Oliver Kowalke
37b5f770fa call destructor for values in channel
- in context of #209
2019-08-20 09:53:44 +02:00
Oliver Kowalke
0fce2b61c7 Merge branch 'develop' boost-1.71.0.beta1 boost-1.71.0 2019-06-27 11:25:50 +02:00
Oliver Kowalke
2b16d5445a documentation for shared_work updated 2019-05-17 10:28:36 +02:00
Oliver Kowalke
3f926974cb Merge pull request #196 from romange/FixLockContention
Fix high contention on remote_ready_splk_
2019-04-01 07:55:50 +02:00
Oliver Kowalke
98ff5c8503 Merge branch 'develop' boost-1.70.0 2019-03-20 15:00:18 +01:00
Oliver Kowalke
b656d98e9d Don't crash on pthread_cancel
Justinas V. Daugmaudis: This patch prevents abi::__forced_unwind from being eaten
2019-03-14 15:34:08 +01:00
Roman Gershman
63997680b2 Fix high contention on remote_ready_splk_ during wake path caused by a local thread holding the lock for too long 2019-03-10 11:33:25 +02:00
Oliver Kowalke
9dd01aa0d4 Merge branch 'develop' boost-1.70.0.beta1 2019-03-06 13:35:37 +01:00
Oliver Kowalke
6a827f0b10 pass StackAllocator as rvlaue refenrnce ot dispatcher_context 2019-03-06 13:34:18 +01:00
Oliver Kowalke
e7f53c0b0a Merge branch 'develop' 2019-02-02 09:36:15 +01:00
Oliver Kowalke
a8bde61970 Merge pull request #192 from ksrrock/develop
Update README.md
2019-01-05 14:53:48 +01:00
Kumar Shivam Ranjan
703ec93ac1 Update README.md 2019-01-05 15:29:14 +05:30
Oliver Kowalke
9e68de8489 Merge pull request #191 from Romain-Geissler-1A/develop
Ignore unused argument warning with clang.
2019-01-03 11:13:31 +01:00
Romain Geissler
5b9cc63e71 Ignore unused argument warning with clang. 2019-01-03 09:46:08 +00:00
Oliver Kowalke
2c89fbd775 exlcude CUDA binaries in .gitignore 2018-12-03 14:34:57 +01:00
Oliver Kowalke
09cc161c6c Merge pull request #188 from eldiener/develop
Remove non-source files.
2018-12-03 14:32:25 +01:00
Edward Diener
645d673992 Remove non-source files. 2018-12-03 08:00:59 -05:00
Oliver Kowalke
8c1142fe7e Merge branch 'develop' boost-1.69.0-beta1 boost-1.69.0 2018-11-02 07:32:53 +01:00
Oliver Kowalke
22e1366cf6 fix example join 2018-11-01 10:05:07 +01:00
Oliver Kowalke
fe7553abc9 Merge branch 'develop' 2018-10-22 10:14:40 +02:00
Oliver Kowalke
1b14248f8a update docu: multiplex fibers across multiple cores 2018-10-22 10:13:30 +02:00
Oliver Kowalke
6954407199 Merge branch 'develop' 2018-10-06 08:41:26 +02:00
Oliver Kowalke
d928b3595a Merge pull request #183 from boostorg/pr/fix-boost-install
Fix boost-install use; should only be issued once
2018-10-06 08:41:22 +02:00
Oliver Kowalke
34436549ba unbuffered_channel: resume fiber blocked in unbuffered_channel<>::push()
- in context of #181
- fiber blocked in unbuffered_channel>::push() will be resumed by
  unbuffered_channel<>::close()
- returns channel_op_status::closed in this case
2018-10-06 08:28:43 +02:00
Oliver Kowalke
0bfdb1f074 buffered_channel: exec body of buffered_channel<>::close() only once 2018-10-06 08:28:08 +02:00
Peter Dimov
8359cddf35 Fix boost-install use; should only be issued once 2018-10-06 01:39:58 +03:00
Oliver Kowalke
d701eec5af Merge pull request #182 from tex/fix_bom_in_context_spmc_queue
Remove UTF-8 BOM at begining of the file.
2018-10-03 10:34:10 +02:00