Hi On Tue, Oct 22, 2024 at 9:51 AM fengchengwen <fengcheng...@huawei.com> 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/20231114110006.91148-1-haij...@huawei.com/T/#u > 2\ strerror(): > https://inbox.dpdk.org/dev/20231114123552.398072-1-huangdeng...@huawei.com/T/#u +1