delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/27/05:49:27

Date: Tue, 27 Apr 1999 10:27:08 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jay <ok11 AT ihatespam DOT sprint DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: 3 questions
In-Reply-To: <oo5V2.119790$Mb.45033755@newscontent-02.sprint.ca>
Message-ID: <Pine.SUN.3.91.990427102649.18849L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 26 Apr 1999, Jay wrote:

> Say if you have a function pointer to a function, do you have to
> lock that also, along with the function?

Yes.  All code AND DATA used in the interrupt handler must be locked.
A function pointer is used (by dereferencing it), so it must be
locked, too.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019