Right now it is main thread. there is a plan to make this per-thread. ETA 
unknown...

— 
Damjan

> On 29 Oct 2018, at 17:14, Prashant Upadhyaya <praupadhy...@gmail.com> wrote:
> 
> 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/675642
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [dmar...@me.com]
> -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11020): https://lists.fd.io/g/vpp-dev/message/11020
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to