Xref: news2.mv.net comp.os.msdos.djgpp:4829 From: ff AT kom DOT auc DOT dk (Frank Frederiksen) Newsgroups: comp.os.msdos.djgpp Subject: Static variables in an Interrupt service routine Date: 10 Jun 1996 08:48:37 GMT Organization: Aalborg University - Dep. of Communication Technology Lines: 24 Message-ID: <4pgnh5$ub@newsfeed.cs.auc.dk> Reply-To: ff AT kom DOT auc DOT dk NNTP-Posting-Host: zil.kom.auc.dk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I tried to post this a while ago, but I'm not sure that it got distributed, so I'll try again..... Hi there, I am doing some processing on some hardware interrupts, and during the programming, I came to wonder if a static variable, declared inside the function, gets locked along with the code locking (with _go32_dpmi_lock_code(x,l);) or is it has to be declared and locked as all the other global variables? Thanks in advance. BTW, I have read the FAQ and the libc info file without finding anything about this specific topic. -- --\ ---\ \Frank