unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* What do 'hooks' do  and how do they do it?
@ 2009-08-01 17:17 William Case
  2009-08-01 17:39 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: William Case @ 2009-08-01 17:17 UTC (permalink / raw)
  To: Emacs Help List

Hi;

This is not an urgent question, it is more in the way of a request for
an explanation by anyone who has the time and inclination to do a little
teaching.

I know at a high level what a 'hook' is and how to use it an elisp
statement.  And, I have seen hooks used in other programs like SELinux.

But I am curious about what is going on at the kernel level with a
'hook'.  If someone can give me a brief overview in relatively plain
language, I would appreciate it.

e.g. some of the kind of questions that spring to mind.
Is it a process that is added to the task structure waiting to be
called?
How is it woken up?  And what kind of events might wake it?  etc.

As I said, an overview would be helpful.  If there is some detail that I
want clarified, I can dig deeper once I have a general idea of what is
going on. 

-- 
Regards Bill
Fedora 11, Gnome 2.26.3
Evo.2.26.3, Emacs 22.3.1





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-08-07 15:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-01 17:17 What do 'hooks' do and how do they do it? William Case
2009-08-01 17:39 ` Drew Adams
2009-08-01 18:00 ` Dirk-Jan C. Binnema
2009-08-01 20:43   ` William Case
2009-08-01 22:05     ` Drew Adams
2009-08-01 22:44       ` William Case
2009-08-07 15:17 ` Thien-Thi Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).