On Fri, 18 Apr 2025 17:06:03 +0800 Feifei Wang <wff_li...@vip.163.com> wrote:
> + u8 pause_set; /**< Flag of PAUSE frame setting. */ > + pthread_mutex_t pause_mutuex; > + struct nic_pause_config nic_pause; > + Please don't use pthread functions unless there is a special reason to do so. Why not a simple spinlock. PS: the spelling of mutex is wrong here.