Results 1 to 2 of 2

Thread: FreeBSD support for kqueue in networking (Selector code)

  1. #1
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85

    FreeBSD support for kqueue in networking (Selector code)

    Hi,

    while checking the networking source I learned that kqueue support is only enabled for Mac OS X. Afaik the kqueue and kevent interface are identical on both OSs (besides the difference that Apple also add a kevent64 structure and a corresponding call) and I also double checked that they way it is used looks ok for BSD. Is there any specific reason why FreeBSD wasn't added there or was it just not considered, because it's not an officially supported platform?

    I changed Network.h to also define USE_KQUEUE, everything seems to work as expected. So you might consider applying the patch attached to this message to your next release.

    cheers
    Michael
    Attached Files Attached Files

  2. #2
    cnhome is offline Registered User
    Name: Li Wenzhi
    Organization: FreeLaner
    Project: Train Enquiries for Android
    Join Date
    Apr 2005
    Location
    Beijing, China
    Posts
    64

    Cool

    Nice work!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 06-03-2011, 03:26 PM
  2. Message selector implemetation for Java
    By Vijayalaxmi in forum Help Center
    Replies: 4
    Last Post: 07-12-2010, 02:59 AM
  3. Assertion failed in Ice/Selector.h
    By myer in forum Help Center
    Replies: 1
    Last Post: 10-12-2009, 02:55 AM
  4. Replies: 3
    Last Post: 05-28-2009, 11:05 PM
  5. FreeBSD
    By Sem in forum Comments
    Replies: 2
    Last Post: 03-11-2004, 10:06 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •