POSIX Message Queue is supported on which linux Kernel

谁说胖子不能爱 提交于 2019-12-11 23:18:51

问题


I could successfully implement POSIX Message Queue on Ubuntu 10.04 (Kernel version 2.6.38). But the code fails when (built and) run on same version of Ubuntu 10.04 (Kernel version 2.6.37) on ARM Processor (Thin client devices like HP T410).

The failure happens to use any of the Message Queue functions (e.g. mq_open, unlink_message_queue()) :

OSError: [Errno 38] Function not implemented

Online information shows that. POSIX MQ is supported from Linux Kernel version 2.6.6. This is very confusing to me (being new to linux world).

How come the functionality works on a x86 Linux Kernel 2.6.38 , but does not work on Kernel 2.6.37 running on ARM processor. And the document gives a different Version information 2.6.6 about the support.

Is there a better way to verify if the Current OS has the support or not ? Is it possible the Kernel is trimmed off on Thin client devices.

来源:https://stackoverflow.com/questions/17053243/posix-message-queue-is-supported-on-which-linux-kernel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!