siren186 73df3689bf
enh(Poco::ActiveThreadPool): make it easy to use correctly (#4624)
* make Poco::ActiveThreadPool easy to use (#4544)

* code format

* Fix ThreadSanitizer thread leak error

* enh(ActivePooledThread): Change pointers to references

* enh(ActivePooledThread): remove unused method

* enh(Poco::ActiveThreadPool): Use std::unique_ptr instead of raw pointer

* enh(Poco::ActiveThreadPool): Use C++ static_cast instead of C casting

* enh(Poco::ActiveThreadPool): Use standard containers instead of implementing own

* enh(Poco::ActiveThreadPool): Change pointer to reference

* enh(Poco::ActiveThreadPool): Use smart pointers instead of bare pointers

* enh(Poco::ActiveThreadPool): Fix codeql warning: A stack address which arrived via a  may be assigned to a non-local variable.

* enh(Poco::ActiveThreadPool): More test case

* enh(Poco::ActiveThreadPool): std::optional::value unavailable on earlier macOS versions

* enh(Poco::ActiveThreadPool): Fix compare function for make heap

* enh(Poco::ActiveThreadPool): Add more test case

* enh(Poco::ActiveThreadPool): Add more test case

* enh(Poco::ActiveThreadPool): Code style

* enh(Poco::ActiveThreadPool): Test case

* enh(Poco::ActiveThreadPool): Test case

* enh(Poco::ActiveThreadPool): Fix test case error

* Revert "enh(Poco::ActiveThreadPool): std::optional::value unavailable on earlier macOS versions"

This reverts commit cba4673b47761192d118eadf320b92f880071404.

* enh(macOS): require min deployment macOS version 10.15 which has full support for C++17

* enh(Poco::ActiveThreadPool): Remove useless "{}"

* enh(Poco::ActiveThreadPool): Rename member variable m_impl to _impl

---------

Co-authored-by: Matej Kenda <matejken@gmail.com>
2024-08-30 11:54:44 +02:00
..
AIX
2022-07-07 04:18:20 -05:00
2024-01-31 22:07:07 +01:00
2017-11-09 19:28:31 +01:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2024-01-31 22:07:07 +01:00
2024-01-31 22:07:07 +01:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2024-01-31 22:07:07 +01:00
2024-04-02 23:36:06 +02:00
2024-04-02 23:36:06 +02:00
2017-09-09 11:14:06 +02:00
2022-07-07 04:18:20 -05:00
2023-11-01 00:25:46 +01:00
2022-08-06 23:22:01 +02:00
2024-01-31 22:07:07 +01:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2022-07-07 04:18:20 -05:00
2024-01-31 22:07:07 +01:00
QNX
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2024-01-31 22:07:07 +01:00
2017-09-09 11:14:06 +02:00
2017-09-09 11:14:06 +02:00
2022-07-07 04:18:20 -05:00
2024-01-31 22:07:07 +01:00
2024-01-31 22:07:07 +01:00