[dpdk-dev] 回复: 回复: Re: Does lthread_cond_wait need a mutex?

2018-08-02 Thread wubenqing
Hi~ I would be appreciate it if you could provide your lthread code for me. I want to deep into the code. Regards, Wubenqing 发件人: wubenq...@ruijie.com.cn<mailto:wubenq...@ruijie.com.cn> 发送时间: 2018-07-22 20:59 收件人: keith.wi...@intel.com<mailto

[dpdk-dev] 回复: Re: Does lthread_cond_wait need a mutex?

2018-07-22 Thread wubenqing
I'm really looking forward to it :) Regards, Wubenqing 发件人: Wiles, Keith<mailto:keith.wi...@intel.com> 发送时间: 2018-07-21 21:49 收件人: 吴本卿(研五 福州)<mailto:wubenq...@ruijie.com.cn> 抄送: dev@dpdk.org<mailto:dev@dpdk.org> 主题: Re: [dpdk-dev] Does l

Re: [dpdk-dev] Does lthread_cond_wait need a mutex?

2018-07-20 Thread wubenqing
Hi~ I would be appreciate it if you could provide your lthread code for me. And I found that DPDK lthreads does not provide lthread_cond_timedwait API which I am looking for. Thanks. Regards, Wubenqing From: Wiles, Keith<mailto:keith.wi...@intel.

Re: [dpdk-dev] Does lthread_cond_wait need a mutex?

2018-07-18 Thread wubenqing
t to access by another thread to the mutex and then the condition variable"." So I think there is a problem with pthread_cond_wait implemented by lthread. If that is the case, could lthread fix this problem? Regards, Wubenqing From: Wiles, Keith<

[dpdk-dev] Does lthread_cond_wait need a mutex?

2018-07-17 Thread wubenqing
Hi~ Reference: http://doc.dpdk.org/guides-18.05/sample_app_ug/performance_thread.html?highlight=lthread The L-thread subsystem provides a set of functions that are logically equivalent to the corresponding functions offered by the POSIX pthread library. I think there is a bug with pth