summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoryangwei <[email protected]>2023-09-12 16:34:32 +0800
committeryangwei <[email protected]>2023-09-12 16:34:32 +0800
commitfbab6cdf6df200f525af4269e5db97be4dad6d6f (patch)
treeccb1387abbf6160f252d7e5e3ae9d67f947a12c8 /include
parent544b90813d391ac1de2b459a2bc0d0f1b45d0619 (diff)
🦄 refactor(polling priority): 移除polling enabled 开关,Priority=0等价于关闭
Diffstat (limited to 'include')
-rw-r--r--include/private/sapp_global_val.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/private/sapp_global_val.h b/include/private/sapp_global_val.h
index 6a49420..3aa1787 100644
--- a/include/private/sapp_global_val.h
+++ b/include/private/sapp_global_val.h
@@ -229,7 +229,6 @@ typedef struct{
sapp_config_packet_io_dev_t internal;
sapp_config_packet_io_dev_t external;
char pcap_dumpfile_name[NAME_MAX];
- int polling_enabled;
int polling_priority; /* call sapp_recv_pkt every call polling_entry times, ���ö��ٴ�polling�����һ��recv pkt, 1��ʾ�������ȼ���ͬ */
int work_percent;
int without_usleep; /* ���ܲ���ģʽ, �������usleep, CPU��100% */