Hi all !

 I have a problem understanding what rtl_printf is actualy doing
 I call rtl_printf at init_module and at cleanup , wich works fine
 but if I cal it within a thread then the last strings droped to
 rtl_printf are buffered somwhere , and if I do


my terminal                              console
                                      |
root@Mesencephalon: # insmod mymod.o  |
                                      |  initializing
                                      |  beep
                                      |  beep
                                      |  beep
root@Mesencephalon: # rmmod mymod     |  cleanup 
root@Mesencephalon: # insmod mymod.o  |
                                      |  beep      <------where are they from
                                      |  beep      <------????????
                                      |  initializing 
                                      |  beep
                                      |  beep
                                      |  beep

I could not find any way to "flush" the rtl_printf buffer ,
is there something like that ? so that I could discard all
pending rtl_printf strings at module cleanup ?


thx
nmg


*------------------------------------------------------------------------*
*THERE           {__}                         Universitaet Wien          *
*IS              oo )                      Inst. f. Materialphysik       *
*LIFE           O_   `_-------.              Mc  Guire  Nicholas         *
*IN               (-.         ,-\                                        *
*THE               || )---<  )            [EMAIL PROTECTED] *
*NET !             |||     | |          privat: [EMAIL PROTECTED]         *
*                                     [EMAIL PROTECTED]   *
*------------------------------------------------------------------------*
*                   ASCII-COW (C) 1996-2001 [EMAIL PROTECTED]             *
*------------------------------------------------------------------------*
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to