arch_int_restore_interrupts

"Salvatore Benedetto" <[email protected]> Sat, 4 Aug 2007 22:13:18 +0200
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <[email protected]>
I didn't open a ticket because I can't really call it a bug since there is
this ToDo in the dprintf function

    // ToDo: maybe add a non-interrupt buffer and path that only
    //  needs to acquire a semaphore instead of needing to disable
    //  interrupts?

Basically I'm doing an heavy use of TRACE calls (a.k.a. dprintf) to debug
my thread, and sometimes (actually often) my systems hangs. At first I
thought
I introduced a deadlock but then, by looking at the stack frame
in kdl I saw that the system was blocked at

arch_int_restore_interrupts
restore_interrupts
dprintf
mythread
etc...

so I'm wondering if this ToDo is going to become history any time soon. :)

Salvo

-- 
Salvatore Benedetto (a.k.a. emitrax)
Student of Computer and Telecommunications Engineering
University of Messina (Italy)
www.messinalug.org

-------------------------------------------------------------------------
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