Skip to content

Complimentary to #3918 (std::*mutex wrapper)#3954

Merged
aleks-f merged 2 commits intopocoproject:develfrom
bas524:fast-mutex
May 5, 2023
Merged

Complimentary to #3918 (std::*mutex wrapper)#3954
aleks-f merged 2 commits intopocoproject:develfrom
bas524:fast-mutex

Conversation

@bas524
Copy link
Copy Markdown
Contributor

@bas524 bas524 commented Feb 22, 2023

Complimentary to #3918
I think that we can use Poco::Mutex and Poco::FastMutex as wrappers for std::recursive_mutex and std::mutex instead of replacing

For using std::*mutexes switch on cmake-option POCO_ENABLE_STD_MUTEX

I think that we can use Poco::Mutex and Poco::FastMutex as wrappers for std::recursive_mutex and std::mutex instead of replacing

For using std::*mutexes switch on cmake-option POCO_ENABLE_STD_MUTEX
@aleks-f aleks-f requested a review from obiltschnig March 22, 2023 05:52
Copy link
Copy Markdown
Member

@aleks-f aleks-f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also add this option to Config.h

remove empty if-else from CMakeLists.txt
@aleks-f aleks-f merged commit c7ac857 into pocoproject:devel May 5, 2023
@bas524 bas524 deleted the fast-mutex branch May 7, 2023 08:49
aleks-f pushed a commit that referenced this pull request Nov 27, 2023
* Complimentary to #3918
I think that we can use Poco::Mutex and Poco::FastMutex as wrappers for std::recursive_mutex and std::mutex instead of replacing

For using std::*mutexes switch on cmake-option POCO_ENABLE_STD_MUTEX

* add define POCO_ENABLE_STD_MUTEX to the Config.h
remove empty if-else from CMakeLists.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants