diff --git a/classppqsort_1_1impl_1_1cpp_1_1_task_stack.html b/classppqsort_1_1impl_1_1cpp_1_1_task_stack.html index e3aa09f..2faa8c1 100644 --- a/classppqsort_1_1impl_1_1cpp_1_1_task_stack.html +++ b/classppqsort_1_1impl_1_1cpp_1_1_task_stack.html @@ -82,24 +82,107 @@

Constructors, destructors, conversion operators<

Public functions

-
- auto try_push(taskType&& task) -> bool +
+ auto try_push(taskType&& task) -> bool
-
-
- auto push(taskType&& task) -> void +
Try to push a task to the stack.
+
+ auto push(taskType&& task) -> void
-
-
- auto try_pop() -> std::optional<taskType> +
Push a task to the stack. If the stack is held by another thread, wait until it is released.
+
+ auto try_pop() -> std::optional<taskType>
-
-
- auto pop() -> std::optional<taskType> +
Try to pop a task from the stack.
+
+ auto pop() -> std::optional<taskType>
-
+
Pop a task from the stack. If the stack is held by another thread, wait until it is released.
+
+

Function documentation

+
+

+
+ template<typename taskType _1> +
+ bool ppqsort::impl::cpp::TaskStack<_1>::try_push(taskType&& task) +

+

Try to push a task to the stack.

+ + + + + + + + + + + + + + + + +
Parameters
task
Returnstrue if the task was successfully pushed, false otherwise (stack is held by other thread).
+
+
+

+
+ template<typename taskType _1> +
+ void ppqsort::impl::cpp::TaskStack<_1>::push(taskType&& task) +

+

Push a task to the stack. If the stack is held by another thread, wait until it is released.

+ + + + + + + + + + +
Parameters
task
+
+
+

+
+ template<typename taskType _1> +
+ std::optional<taskType> ppqsort::impl::cpp::TaskStack<_1>::try_pop() +

+

Try to pop a task from the stack.

+ + + + + + + +
Returnsstd::nullopt if the stack is empty or held by another thread, task otherwise.
+
+
+

+
+ template<typename taskType _1> +
+ std::optional<taskType> ppqsort::impl::cpp::TaskStack<_1>::pop() +

+

Pop a task from the stack. If the stack is held by another thread, wait until it is released.

+ + + + + + + +
Returnsstd::nullopt if the stack is empty, task otherwise.
+
+
diff --git a/index.html b/index.html index 57e56fb..325a556 100644 --- a/index.html +++ b/index.html @@ -51,7 +51,7 @@

PPQSort

-

Image Image Image Image

Suite for PPQSort (Parallel Pattern QuickSort)

Overview

This repository offers a test and benchmark suite for PPQSort (Parallel Pattern QuickSort). It's used for comparing various sorting algorithms.

+

Image Image Image Image

Suite for PPQSort (Parallel Pattern QuickSort)

Overview

This repository offers a test and benchmark suite for PPQSort (Parallel Pattern QuickSort). These benchmarks were used to evaluate the performance of PPQSort against other parallel sorting algorithms. PPQSort is a parallel Quicksort algorithm which draws inspiration from sequential pdqsort algorithm.

For more information about PPQSort, please refer to the PPQSort repository.