- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page