Boost C++ Libraries: Ticket #2958: [patch] changes to make asio compile on vxWorks https://svn.boost.org/trac10/ticket/2958 <p> An explanation of some of the changes: </p> <p> socket/pipe interrupter: Despite that vxWorks has a pipe facility, it appears that you must create a named pipe, and then open the file, which is a bit different than the unix pipe function. Since its not clear to me how many different interrupters may be created by asio, its far easier to use the select_interrupter instead (and it works just as well). </p> <p> socket_ops: for whatever reason the arguments to its socket related functions take an int, and a socklen_t is an unsigned int. there are also a number of functions where a non-const arg is passed that apparently is typically a const arg on other systems. </p> <p> socket_ops/descriptor_ops: when running as a kernel module, apparently open and ioctl have three fixed arguments, with the third argument being an integer. outside of kernel modules it appears to have the traditional API. </p> <p> Patch from ticket <a class="reopened ticket" href="https://svn.boost.org/trac10/ticket/2917" title="#2917: Library Submissions: BOOST_ASIO_DISABLE_SERIAL_PORT doesn't work as expected (reopened)">#2917</a> is required for vxWorks as well, since it does not support serial ports via termios. </p> <p> There are patches to other boost libraries required also, those have been submitted in other bugs. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2958 Trac 1.4.3 Dustin Spicuzza <dustin@…> Sat, 18 Apr 2009 22:03:58 GMT attachment set https://svn.boost.org/trac10/ticket/2958 https://svn.boost.org/trac10/ticket/2958 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_1_38_0.asio.vxworks.patch</span> </li> </ul> Ticket Dustin Spicuzza <dustin@…> Sat, 18 Apr 2009 22:04:48 GMT type, severity changed https://svn.boost.org/trac10/ticket/2958#comment:1 https://svn.boost.org/trac10/ticket/2958#comment:1 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Showstopper</span> </li> </ul> Ticket