🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3936

Re: Calling Socket library from Interrupt handler

#3936
From: Mark Grand
Date: Sat, 15 Dec 1990 04:06
29 lines
1790 bytes
In article <1409@formtek.UUCP> mam@flash.formtek (Mark A. Mastandrea) writes:

   I am working on a program in MicroSoft C 6.0 that replaces an interrupt
   handler and then spawns a program which calls the interrupt. The interrupt
   handler makes calls to a SUN NFS socket library .

   Problem: The call to the socket library (inside the interrupt handler) 
   hangs the machine. I can see the

Set a breakpoint on the interrupt handler.  Check the value of SS.
You may find that the problem is that your interrupt handler is
executing in one of DOS' stacks rather than your stack.  If this is
the case, the call to the NFS library may cause DOS' stack to
overflow.  If this is your problem, then the solution is to switch to
your application's stack on entry to your interrupt handler and the
restore the previous stack before exiting from the interrupt handler.
--
========

Mark Grand
Premenos Corporation                415-602-2073
1000 Burnett Avenue, Suite 200
Concord, CA   94520                 ...!attmail!premenos
				    ...!{sun, ames, att}!pacbell!premenos!mark
-- 
========

Mark Grand
Premenos Corporation                415-602-2073
Technical Details
Message-ID: <MARK.90Dec14230613@premenos.premenos.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!psuvax1!wuarchive!zaphod.mps.ohio-state.edu!know!news.cs.indiana.edu!att!pacbell.com!pacbell!premenos!premenos!mark
References: <1409@formtek.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!psuvax1!wuarchive!zaphod.mps.ohio-state.edu!know!news.cs.indiana.edu!att!pacbell.com!pacbell!premenos!premenos!mark
From: mark@premenos.premenos.COM (Mark Grand)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Calling Socket library from Interrupt handler
Message-ID: <MARK.90Dec14230613@premenos.premenos.COM>
Date: 15 Dec 90 04:06:13 GMT
References: <1409@formtek.UUCP>
Sender: mark@premenos.uucp (Mark Grand)
Distribution: usa
Organization: Premenos
Lines: 29
In-Reply-To: mam@flash.formtek's message of 13 Dec 90 00:34:01 GMT