www.delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.os.msdos.djgpp:4883 |
From: | Shawn Hargreaves <slh100 AT york DOT ac DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Grabbing interrupts in C++ |
Date: | Mon, 10 Jun 1996 15:00:27 +0100 |
Organization: | The University of York, UK |
Lines: | 18 |
Message-ID: | <Pine.SGI.3.91.960610145353.26527B-100000@tower.york.ac.uk> |
NNTP-Posting-Host: | tower.york.ac.uk |
Mime-Version: | 1.0 |
In-Reply-To: | <01BB5489.0EBADA80@psp3> |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
On Fri, 7 Jun 1996, Steve Higgins wrote: > I've now hit the classic problem of telling the interrupt function > where the function's class is. I really don't see what the big deal is with wanting to write interrupt handlers in C++. Why can't they just be a global C function? An interrupt is a global resource, and there are a very small number of them available, so why try to implement them as class member functions? I think you are just making life difficult for yourself :-) /* * Shawn Hargreaves. Why is 'phonetic' spelt with a ph? * Check out Allegro and FED on http://www.york.ac.uk/~slh100/ */
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |