poco/Foundation
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 cba4673b47.

* 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
..
cmake fix(cmake): PocoFoundationConfig.cmake should now check for PCRE2 #3677 2022-07-09 19:13:04 +02:00
include/Poco enh(Poco::ActiveThreadPool): make it easy to use correctly (#4624) 2024-08-30 11:54:44 +02:00
samples Sync differences from branch 'master' into 'devel' after release 1.13.3 2024-04-06 10:21:08 +02:00
src enh(Poco::ActiveThreadPool): make it easy to use correctly (#4624) 2024-08-30 11:54:44 +02:00
testsuite enh(Poco::ActiveThreadPool): make it easy to use correctly (#4624) 2024-08-30 11:54:44 +02:00
CMakeLists.txt mingw 11: fixes to compile common libraries 2023-12-14 19:02:11 +01:00
Foundation_vs160.sln revert Foundation project files 2020-01-11 23:59:05 +01:00
Foundation_vs160.vcxproj fix(build): Foundation VS project files 2024-04-03 09:01:34 +02:00
Foundation_vs160.vcxproj.filters chore: fix vs project files 2024-02-19 22:29:26 +01:00
Foundation_vs170.sln Remaining changes for Windows on ARM64 support (#3608) 2022-05-26 22:40:30 -05:00
Foundation_vs170.vcxproj fix(build): Foundation VS project files 2024-04-03 09:01:34 +02:00
Foundation_vs170.vcxproj.filters AsyncObserver (#4444) 2024-02-16 09:34:19 +01:00
Makefile AsyncObserver (#4444) 2024-02-16 09:34:19 +01:00
nonexistent.txt feat(Data::AbstractSessionImpl): add autoCommit property and tests #4261 (#4262) 2023-12-22 09:27:34 +01:00