Skip to content

Commit

Permalink
Update custom_mutex_chmap.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
aepanchi authored Jul 2, 2024
1 parent c4dc839 commit 8157f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/main/reference/custom_mutex_chmap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Type requirements
-----------------

The type of the mutex passed as a template argument for ``concurrent_hash_map`` should
meet the requirements of `ReaderWriterMutex <https://oneapi-spec.uxlfoundation.org/specifications/oneapi/latest/elements/onetbb/source/mutual_exclusion/rw_mutex_cls>`_.
meet the requirements of `ReaderWriterMutex <https://oneapi-spec.uxlfoundation.org/specifications/oneapi/latest/elements/onetbb/source/named_requirements/mutexes/rw_mutex>`_.
It should also provide the following API:

.. cpp:function:: bool ReaderWriterMutex::scoped_lock::is_writer() const;
Expand Down

0 comments on commit 8157f7d

Please sign in to comment.