Subject: Re: SMP API things, take 2
To: Stefan Grefen <Stefan.Grefen@tantau.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-smp
Date: 07/29/1999 14:40:18
On Thu, 29 Jul 1999 23:47:21 +0200 
 Stefan Grefen <Stefan.Grefen@tantau.com> wrote:

 > Missing:
 >  void cpu_simple_lock_destroy(__volatile struct simplelock *alp);
 >                This function, inline function, or macro destroys 
 >                    the lock (a NOP on most architectures)
 >                    With diagnostic/debug takes care of cpu lock-counts,
 >                     if the lock is destroyed locked.

Ummm...

	(1) I said that I had already addressed the issue facing
	    the PA-RISC.

	(2) This would require simple_lock_create(), as well, and would
	    mean that simple locks could not be embedded into structures,
	    and could not be statically allocated/initialized.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>