🦄 refactor(plug_mgr): per stage msg counter encap
This commit is contained in:
@@ -13,7 +13,6 @@ extern "C"
|
||||
|
||||
#include "uthash/utarray.h"
|
||||
|
||||
|
||||
struct stellar_message;
|
||||
|
||||
struct per_thread_exdata_array
|
||||
@@ -26,10 +25,9 @@ struct plugin_manager_per_thread_data
|
||||
struct per_thread_exdata_array per_thread_pkt_exdata_array;
|
||||
struct stellar_message *priority_mq[STELLAR_MQ_PRIORITY_MAX];// message list
|
||||
struct stellar_message *dealth_letter_queue;// dlq list
|
||||
long long pub_packet_msg_cnt;
|
||||
unsigned long long pub_packet_msg_cnt;
|
||||
};
|
||||
|
||||
|
||||
struct plugin_manager_schema
|
||||
{
|
||||
struct stellar *st;
|
||||
@@ -44,6 +42,7 @@ struct plugin_manager_schema
|
||||
struct plugin_manager_per_thread_data *per_thread_data;
|
||||
}__attribute__((aligned(sizeof(void*))));
|
||||
|
||||
|
||||
enum plugin_exdata_state
|
||||
{ INIT, ACTIVE, EXIT };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user