Intel® Edge Software Hub
Get help on building Edge Software Hub solutions for edge compute node
Announcements
Welcome to the Intel Community! If you like the answer to your question, please mark it as 'Accepted Solution' to help others.

The Edge Software Vision Package for Red Hat Enterprise Linux is now available here.

Learn more about developing on Intel® Hardware and Software here.
300 Discussions

eii-messagebus msgbus_recv_ready_poll() ?

numo68
Beginner
88 Views

Hello,

we are developing an application interfacing to the EII message bus. As this application might be targeted to an embedded device with limitations regarding the resources such as number of threads used, we would like to utilize a single message loop handling the message bus interface.

The msgbus.h contains the following:

/**
* Set of receive context to be used with `msgbus_recv_ready_poll()` method.
*/
typedef struct {
int size;
int max_size;
bool* tbl_ready;
recv_ctx_t** tbl_ctxs;
} recv_ctx_set_t;

that looks promising. There is however no msgbus_recv_ready_poll() function implemented nor is the type used anywhere. Also all the examples I have found just use one thread per topic.

Is there any way to use a kind of select()-like interface to the bus?

Thanks

Labels (1)
0 Kudos
1 Reply
JesusE_Intel
Moderator
77 Views

Hi numo68,


Looking through the Open Edge Insights GitHub repository, I was unable to find an example where such function is used.

I have reached out to my peers for additional input on this subject and will let you know what I find out.


Regards,

Jesus


Reply