From owner-freebsd-questions Wed Apr 28 14:33:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tas1-atm.tampabay.rr.com (tas1-atm.tampabay.rr.com [24.92.0.51]) by hub.freebsd.org (Postfix) with ESMTP id DCC2415536 for ; Wed, 28 Apr 1999 14:33:18 -0700 (PDT) (envelope-from Scott@tampabay.rr.com) Received: from scott (dt011nb9.tampabay.rr.com [24.92.6.185]) by tas1-atm.tampabay.rr.com (8.8.8+Sun/8.8.8+RoadRunner) with SMTP id RAA14261 for ; Wed, 28 Apr 1999 17:32:47 -0400 (EDT) Message-ID: <000701be91bf$717f45e0$b9065c18@scott.tampabay.rr.com> From: "Scott Stewart" To: Subject: Kernel functions Date: Wed, 28 Apr 1999 17:38:20 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01BE919D.E8993400" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0004_01BE919D.E8993400 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0004_01BE919D.E8993400 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am porting a driver from another = flavor UNIX=20 to FreeBSD. The driver in questions uses 4 specific Kernel functions = that I=20 would appreciate someone giving me a little more info about than that = which is=20 contained in the manual.
 
The four are:
 
    = tsleep()   =20 -    sleep() is used in the original driver
    = timeout()
    = untimeout()
    = wakeup()
 
All four are subtly different in = arguments and=20 return values from the form in FreeBSD. Further, due to ambigious = documentation,=20 they could work differently, or the same. If they effectively perform = the same=20 fuction, I can easily convert the code, if not I will have to rewrite = the=20 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
 
------=_NextPart_000_0004_01BE919D.E8993400-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message