Hi On Tue, Oct 22, 2024 at 9:51 AM fengchengwen <[email protected]> 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 invoke strtok().
I think even dpdk threads such as the telemetry ones might invoke (the same) strtok() at the same time. > From this point of view, I hope that DPDK solves some of the reentrant > problems of > such C functions (e.g. strtok()\strerror()). > > Actually, we've try to solve before, but unfortunately it wasn't merged. > 1\ strtok(): > https://inbox.dpdk.org/dev/[email protected]/T/#u > 2\ strerror(): > https://inbox.dpdk.org/dev/[email protected]/T/#u +1

