Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 17:38:20 -0400
From:      "Scott Stewart" <Scott@tampabay.rr.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Kernel functions
Message-ID:  <000701be91bf$717f45e0$b9065c18@scott.tampabay.rr.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I am porting a driver from another flavor UNIX to FreeBSD. The driver in questions uses 4 specific Kernel functions that I would appreciate someone giving me a little more info about than that which is contained in the manual.

The four are:

    tsleep()    -    sleep() is used in the original driver
    timeout()
    untimeout()
    wakeup()

All four are subtly different in arguments and return values from the form in FreeBSD. Further, due to ambigious documentation, they could work differently, or the same. If they effectively perform the same fuction, I can easily convert the code, if not I will have to rewrite the function or find some other work around. I perfer the former.

Any help would be appreciated.

Please reply to my work E-mail - bb@netwolves.com

Thanks in advance
Bill Britt


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>I am porting a driver from another flavor UNIX 
to FreeBSD. The driver in questions uses 4 specific Kernel functions that I 
would appreciate someone giving me a little more info about than that which is 
contained in the manual.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>The four are:</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; tsleep()&nbsp;&nbsp;&nbsp; 
-&nbsp;&nbsp;&nbsp; sleep() is used in the original driver</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; timeout()</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; untimeout()</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; wakeup()</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>All four are subtly different in arguments and 
return values from the form in FreeBSD. Further, due to ambigious documentation, 
they could work differently, or the same. If they effectively perform the same 
fuction, I can easily convert the code, if not I will have to rewrite the 
function or find some other work around. I perfer the former.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Any help would be appreciated.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Please reply to my work E-mail - <A 
href="mailto:bb@netwolves.com">bb@netwolves.com</A></FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Thanks in advance</FONT></DIV>
<DIV><FONT color=#000000 size=2>Bill Britt</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701be91bf$717f45e0$b9065c18>