[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] rtl_printf question




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               || )---<  )            nicholas.mc.guire@univie.ac.at *
*NET !             |||     | |          privat: der.herr@hofr.at         *
*                                     q5293324@bonsai.fernuni-hagen.de   *
*------------------------------------------------------------------------*
*                   ASCII-COW (C) 1996-2001 der.herr@hofr.at             *
*------------------------------------------------------------------------*
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/