mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-15 07:14:46 +02:00
added NullMutex, extended Events so that mutex is a template param, minor performance optimzation for strategies
This commit is contained in:
@@ -49,10 +49,11 @@
|
||||
namespace Poco {
|
||||
|
||||
|
||||
template <class TArgs>
|
||||
template <class TArgs, class TMutex = FastMutex>
|
||||
class BasicEvent: public AbstractEvent <
|
||||
TArgs, DefaultStrategy<TArgs, AbstractDelegate<TArgs>, p_less<AbstractDelegate<TArgs> > >,
|
||||
AbstractDelegate<TArgs>
|
||||
AbstractDelegate<TArgs>,
|
||||
TMutex
|
||||
>
|
||||
/// A BasicEvent uses internally a DefaultStrategy which
|
||||
/// invokes delegates in an arbitrary manner.
|
||||
|
Reference in New Issue
Block a user