Re: Use of strtok() in dpdk code

2024-10-22 Thread Stephen Hemminger
On Tue, 22 Oct 2024 14:51:39 +0800 fengchengwen wrote: > On 2024/10/22 9:08, Stephen Hemminger wrote: > > On Mon, 21 Oct 2024 21:30:02 +0300 > > Isaac Boukris wrote: > > > >> Hello, > >> > >> I was debugging a crash resulting from strtok() returning NULL > >> unexpectedly (string still had to

Re: Use of strtok() in dpdk code

2024-10-22 Thread Isaac Boukris
Hi On Tue, Oct 22, 2024 at 9:51 AM fengchengwen wrote: > > DPDK is just a SDK, it's not an application (although DPDK provided simple > examples). > Many code will developped based on DPDK, we can't predict how it was > implemented. > So there maybe a DPDK thread and a application thread both i

Re: Use of strtok() in dpdk code

2024-10-21 Thread fengchengwen
On 2024/10/22 9:08, Stephen Hemminger wrote: > On Mon, 21 Oct 2024 21:30:02 +0300 > Isaac Boukris wrote: > >> Hello, >> >> I was debugging a crash resulting from strtok() returning NULL >> unexpectedly (string still had tokens and delimiters), and the only >> explanation I could come up with was