www.delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.os.msdos.djgpp:4850 |
From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Static variables in an Interrupt service routine |
Date: | Tue, 11 Jun 1996 10:28:01 CDT |
Organization: | Rice University, Houston, Texas |
Lines: | 7 |
Message-ID: | <31bd9081.sandmann@clio.rice.edu> |
References: | <4pgnh5$ub AT newsfeed DOT cs DOT auc DOT dk> |
Reply-To: | sandmann AT clio DOT rice DOT edu |
NNTP-Posting-Host: | clio.rice.edu |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
> Does a static variable, declared inside the function, get locked along with > the code (with _go32_dpmi_lock_code(x,l);) or is it has to be declared and > locked as all the other global variables? It must be locked like a global variable. Variables go in a different section of the coff memory image than code.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |