Commit Graph

1210 Commits

Author SHA1 Message Date
MHaselmaier
72d7e56b4c Processors joins coroutineWaitListTimeoutChecker-thread in stop method instead of destructor 2021-05-20 21:15:43 +02:00
MHaselmaier
1ca104a440 Only push Coroutines back to the processor once their CoroutineWaitList was deregistered at the processor 2021-05-16 15:38:40 +02:00
MHaselmaier
e7219035a2 Fixed race condition 2021-05-16 09:57:01 +02:00
MHaselmaier
0c32028c04 Remove CoroutineWaitList from timeout-checked waitlist if the last Coroutine for a given Processor was resumed 2021-05-15 14:02:27 +02:00
MHaselmaier
f6d487dc52 Revert "Rebased this branch from v1.3.0 branch"
This reverts commit d2684c8004.
2021-05-15 12:19:35 +02:00
MHaselmaier
390f423877 Revert "Rebased this branch from v1.3.0 branch"
This reverts commit d5999638ce.
2021-05-15 12:19:12 +02:00
MHaselmaier
81601cb4b3 Revert "Rebased this branch from v1.3.0 branch"
This reverts commit f1b55ea625.
2021-05-15 12:18:52 +02:00
MHaselmaier
d2c38cc740 Revert "Rebased this branch from v1.3.0 branch"
This reverts commit ededaccfb8.
2021-05-15 12:18:28 +02:00
MHaselmaier
7f9681aff7 Revert "Rebased this branch from v1.3.0 branch"
This reverts commit 57099a08de.
2021-05-15 12:17:46 +02:00
MHaselmaier
47d5f783a3 Removed the need for holding CoroutineWaitList members in shared_ptr 2021-05-15 12:13:46 +02:00
MHaselmaier
0d1cbbf8f8 Try to fix build 2021-05-14 20:49:44 +02:00
MHaselmaier
e8e0154121 Moved timeout-checking-thread to core::async::Processor 2021-05-14 20:39:19 +02:00
MHaselmaier
0ae1b0e7fd Merge branch 'issue_408' of https://github.com/MHaselmaier/oatpp into issue_408 2021-05-13 17:30:18 +02:00
MHaselmaier
57099a08de Rebased this branch from v1.3.0 branch 2021-05-13 17:29:15 +02:00
Matthias Haselmaier
ededaccfb8
Rebased this branch from v1.3.0 branch 2021-05-13 17:19:59 +02:00
MHaselmaier
f1b55ea625 Rebased this branch from v1.3.0 branch 2021-05-13 17:16:20 +02:00
MHaselmaier
d5999638ce Rebased this branch from v1.3.0 branch 2021-05-13 16:59:15 +02:00
MHaselmaier
d2684c8004 Rebased this branch from v1.3.0 branch 2021-05-13 16:28:42 +02:00
MHaselmaier
8773d9f30b Fixed build 2021-05-13 12:15:26 +02:00
MHaselmaier
05d07a3240 Fixed build 2021-05-13 12:07:37 +02:00
MHaselmaier
09db03057e Fixed build 2021-05-13 12:02:48 +02:00
MHaselmaier
9b0396e3b9 Fixed build 2021-05-13 11:58:57 +02:00
MHaselmaier
891ce38dd1 Added optional timeout to coroutines in waiting list 2021-05-13 11:54:19 +02:00
MHaselmaier
5d5715853e Trying to fix Ubuntu tests 2021-05-12 21:04:41 +02:00
MHaselmaier
8884643f22 Removed timeout parameter from core::provider::Provider; added it to core::provider::Pool's constructor 2021-05-10 20:38:53 +02:00
MHaselmaier
24b239b8a6 Implemented timeout for network::tcp::client::ConnectionProvider::getAsync 2021-05-08 12:09:09 +02:00
MHaselmaier
00daf643b6 Merge branch 'master' into issue_408 2021-05-07 07:49:26 +02:00
Leonid Stryzhevskyi
4588f8d1e5
Merge pull request #426 from MHaselmaier/master
Fixed compiler warnings
2021-05-06 23:53:04 +03:00
MHaselmaier
185464b155 Fixed compiler warning for unreferenced local variables and truncations on MSVC 2021-05-06 21:27:35 +02:00
MHaselmaier
f690a32fa6 Added timeout implementation to core::provider::Pool::getAsync and network::virtual_::client::ConnectionProvice::getAsync 2021-05-06 20:58:40 +02:00
MHaselmaier
918773d500 Fixed build 2021-05-05 21:44:43 +02:00
MHaselmaier
855f9e0660 Added optional timeout parameter to Provider::get and Provider::getAsync; implemented only for Provider::get for now 2021-05-05 21:40:41 +02:00
MHaselmaier
44d5300318 Made PoolTemplate::get and PoolTemplate::getAsync static protected functions 2021-05-05 18:49:30 +02:00
MHaselmaier
c400ad91b8 Implemented requested changes 2021-05-05 08:06:00 +02:00
MHaselmaier
5f796de690 Removed unused include; touched up formatting 2021-05-04 19:46:59 +02:00
MHaselmaier
c92567632e Added optional timeout parameter to core::provider::PoolTemplate::get 2021-05-04 19:33:58 +02:00
Leonid Stryzhevskyi
13eaca0dc7
Merge pull request #423 from MHaselmaier/master
Fixed memory leak in move assignement operators
2021-05-03 23:42:26 +03:00
MHaselmaier
4f1e0b81d9 Fixed memory leak in move assignement operators 2021-05-03 21:59:43 +02:00
Leonid Stryzhevskyi
2b6a90f601
Merge pull request #422 from MHaselmaier/master
Minor performance relevant changes
2021-05-03 14:26:10 +03:00
MHaselmaier
25a7d4c8bf Utilized std::vector constructor to default initialize n elements instead of calling push_back n times 2021-05-03 12:12:43 +02:00
MHaselmaier
ffcc180dc1 Removed unesseccary copies 2021-05-03 12:10:21 +02:00
MHaselmaier
19e9c59b62 Used perfect forwarding in Coroutine::start 2021-05-03 12:07:03 +02:00
Leonid Stryzhevskyi
019ca7f579
Merge pull request #421 from MHaselmaier/master
Added missing virtual destructor and removed superflous virtual specifier
2021-05-02 17:23:21 +03:00
MHaselmaier
881a3b9b49 Added missing virtual destructor.
Removed superflous virtual.
2021-05-02 16:03:26 +02:00
Leonid Stryzhevskyi
6e9de70898
Merge pull request #420 from MHaselmaier/master
Minor refactorings
2021-05-02 15:46:24 +03:00
MHaselmaier
9fb654b8fb Removed superfluous virutal 2021-05-02 14:23:31 +02:00
MHaselmaier
9fe78ba9f6 Merge remote-tracking branch 'upstream/master' 2021-05-02 12:05:58 +02:00
MHaselmaier
7ca0ec7875 Declared variable when used, not a the start of function 2021-05-02 11:59:49 +02:00
MHaselmaier
91c3818a64 Replaced goto statement with break 2021-05-02 11:57:26 +02:00
MHaselmaier
250d399d64 Added missing override specifier 2021-05-02 11:56:09 +02:00