Feature #113

Updated by Madars about 7 years ago

We shall support the configuration when we run in unix mode, but assuming that mqd_t is file descriptor, thus we will be able to use direct poll() call on queues. Thus heavily increase the system throughput...

Needs research with unixes support this.
Linux is doing this for sure, but how about others?

1) It is freebsd: https://www.freebsd.org/cgi/man.cgi?mq_open

> NOTES
> FreeBSD implements message queue based on file descriptor. The descrip-
> tor is inherited by child after fork(2). The descriptor is closed in a
> new image after exec(3). The select(2) and kevent(2) system calls are
> supported for message queue descriptor.

2) Needs to check AIX & HP-UX

3) Solaris seems not to use this approach

Back