Hi, I understand that when I do something like the following -- clib_file_t template = {0}; template.read_function = my_read_cb; template.file_descriptor = my_fd; template.private_data = my_data; my_handle = clib_file_add (&file_main, &template);
Then my_read_cb will be called whenever the my_fd has data available to be read. Question is, in which thread's context is the my_read_cb called ? Is it the main thread itself or some other thread ? Regards -Prashant
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11019): https://lists.fd.io/g/vpp-dev/message/11019 Mute This Topic: https://lists.fd.io/mt/27783070/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-