projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Uses different pass count for different parallel queue test cases
[libcds.git]
/
cds
/
urcu
/
general_threaded.h
diff --git
a/cds/urcu/general_threaded.h
b/cds/urcu/general_threaded.h
index 16129d28e19aa632fcc3895fee78f289e8e4c709..96f355f0da19390e56a03a3bbee2f1c832c2f0c0 100644
(file)
--- a/
cds/urcu/general_threaded.h
+++ b/
cds/urcu/general_threaded.h
@@
-103,9
+103,9
@@
namespace cds { namespace urcu {
If the buffer is full, \ref synchronize function is invoked.
*/
template <typename T>
If the buffer is full, \ref synchronize function is invoked.
*/
template <typename T>
- static void retire_ptr( T
* p, void (* pFunc)(T *)
)
+ static void retire_ptr( T
* p, free_retired_ptr_func pFunc
)
{
{
- retired_ptr rp(
reinterpret_cast<void *>( p ), reinterpret_cast<free_retired_ptr_func>( pFunc )
);
+ retired_ptr rp(
p, pFunc
);
retire_ptr( rp );
}
retire_ptr( rp );
}
@@
-114,7
+114,7
@@
namespace cds { namespace urcu {
If the buffer is full, \ref synchronize function is invoked.
*/
template <typename Disposer, typename T>
If the buffer is full, \ref synchronize function is invoked.
*/
template <typename Disposer, typename T>
- static void retire_ptr( T
* p )
+ static void retire_ptr( T* p )
{
retire_ptr( p, cds::details::static_functor<Disposer, T>::call );
}
{
retire_ptr( p, cds::details::static_functor<Disposer, T>::call );
}