Re: spinlock_irq needed
"Salvatore Benedetto" <[email protected]> Tue, 13 Nov 2007 20:09:37 +0000
| Newsgroups | gmane.os.openbeos.kernel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Nov 13, 2007 7:48 PM, Axel Dörfler <[email protected]> wrote: > "Salvatore Benedetto" <[email protected]> wrote: > > I followed the BeBook at this link > > http://www.sffjunkie.co.uk/beos/BeBook/DeviceDrivers_Functions.html > > and I'm using the following code > > spinlock lock = 0; > > cpu_status former = disable_interrupts(); > > acquire_spinlock(&lock); > > Are you actually creating a spinlock on the stack? Because that > wouldn't make any sense. No, I just copied&pasted the code from the BeBook. > > > 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/ > _______________________________________________ > Open-beos-kernel-devel mailing list > Open-beos-kernel-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/open-beos-kernel-devel > -- Salvatore Benedetto (a.k.a. emitrax) Student of Computer and Telecommunications Engineering University of Messina (Italy) www.messinalug.org Please do not send me any word, excel or power point file http://www.gnu.org/philosophy/no-word-attachments.html ------------------------------------------------------------------------- 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/