]> git.stg.codes - stg.git/blobdiff - projects/stargazer/eventloop.h
Reduced scopes plus graceful connection shutdown.
[stg.git] / projects / stargazer / eventloop.h
index 35de3675b290b7a2c8a2fbb5f110fa00006b7a52..0e7981421ea289858b31beda001e859d707e7358 100644 (file)
@@ -53,7 +53,7 @@ void EVENT_LOOP::Enqueue(ACTIVE_CLASS & ac,
                          typename ACTOR<ACTIVE_CLASS, DATA_TYPE>::TYPE a,
                          DATA_TYPE d)
 {
-STG_LOCKER lock(&_mutex, __FILE__, __LINE__);
+STG_LOCKER lock(&_mutex);
 // Add new action
 ACTIONS_LIST::Enqueue(ac, a, d);
 // Signal about new action