*BSD News Article 69030


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!bofh.dot!news.mathworks.com!newsfeed.internetmci.com!news.ac.net!pacifier!rainrgnews0!europa.com!thetics!stevenf
From: stevenf@atheria.europa.com (Steven Frank)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Technical question for kernel hackers/wizards
Date: 21 May 1996 00:36:23 -0700
Organization: Europa Communications, Inc, Portland Oregon USA
Lines: 18
Message-ID: <stevenf.832664156@thetics>
NNTP-Posting-Host: thetics.europa.com
X-Newsreader: NN version 6.5.0 #3 (NOV)

I have a question regarding the BSD socket code in the kernel.  It is
very technical.  Specifically, it pertains to the sbwait() function in
kern/uipc_socket2.c

I have ported the socket library to another OS, but on my
implementation, if a recv() call should go into an sbwait() state,
somehow the wakeup is timed wrong and sbwait() stays in tsleep()
indefinitely.  If the recv() call can be fulfilled immediately there is
no problem.  The rest of the port seems to be working fine.

If you have any longshot idea what could be happening, or even know
remotely what I'm talking about, please PLEASE contact me 
(stevenf@europa.com) and I will be grateful for life.
-- 
--
 _             _              O          O
( )           | |            /|\        / \
 ~   circle    ~   square    / \  man    V   woman