Re: spinlock_irq needed

"Axel Dörfler" <[email protected]> Tue, 13 Nov 2007 18:08:06 +0100
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <7110123894-BeMail@ibm>
Hi Salvatore,

"Salvatore Benedetto" <[email protected]> wrote:
> is it possible to make this public as the comment in the file states?
> 
> src/add-ons/kernel/bus_managers/scsi/scsi_lock.h
> 
> I'd do it myself if I knew exactly where to put it. :-)
> Perhaps in headers/build/os/drivers/KernelExport.h ?

It's not a public function, and I don't think it should be - it's just 
a convenient functionality.
If you're using C++, there is already a private InterruptsSpinLocker 
class you can use for that.

Bye,
   Axel.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/