[JDEV] FreeBSD and MIO

Dennis Noordsij dennis.noordsij at wiral.com
Fri Dec 8 02:54:29 CST 2000


On a note about MIO, I recall reading somewhere it would require all 
components to be modules linked into jabber? For me the power of jabber is 
being able to run all these parts on different systems and have them talk 
over TCP/IP. I assume my JSM will be too busy routing messages to also have 
all the transports and components running.

Apologies if this has been discussed already and I missed it :-)

Regards,
Dennis


On Friday 08 December 2000 08:55, you wrote:
> Jdev,
>
> I finnaly found the FreeBSD select(2) bug.. (well, my bug, not FreeBSD's)
> *G*
>
> It has to do with differences in how linux and FreeBSD handle select(2)
> getting interupted by a signal.  On Linux, it clears the FD sets you pass
> into it, but on FreeBSD, it leaves the sets untouched.  (Thank GOD for man
> pages).  It is easily fixed by checking the return value of select(2), and
> not trying to read(2), write(2), or accept(2) from the sockets on an error
> condition (-1) such as when the loop is signalled.
>
> *phew*  with much joy, FreeBSD will be able to share in the 1.4 bliss,
> along with the rest of the community.. *G*
>
> Keith Minkler




More information about the JDev mailing list