/[hurd]/hurd/libcons/vcons-scrollback.c
ViewVC logotype

Diff of /hurd/libcons/vcons-scrollback.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by marcus, Tue Sep 17 11:47:15 2002 UTC revision 1.4 by marco_g, Thu Jan 6 21:53:26 2005 UTC
# Line 1  Line 1 
1  /* vcons-scrollback.c - Move forward and backward in the scrollback buffer.  /* vcons-scrollback.c - Move forward and backward in the scrollback buffer.
2     Copyright (C) 2002 Free Software Foundation, Inc.     Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
3     Written by Marcus Brinkmann.     Written by Marcus Brinkmann.
4    
5     This file is part of the GNU Hurd.     This file is part of the GNU Hurd.
# Line 23  Line 23 
23  #include <cthreads.h>  #include <cthreads.h>
24    
25  #include "cons.h"  #include "cons.h"
26    #include "priv.h"
27    
28  /* Non-locking version of cons_vcons_scrollback.  Does also not update  /* Non-locking version of cons_vcons_scrollback.  Does also not update
29     the display.  */     the display.  */
# Line 155  cons_vcons_scrollback (vcons_t vcons, co Line 156  cons_vcons_scrollback (vcons_t vcons, co
156    
157    mutex_lock (&vcons->lock);    mutex_lock (&vcons->lock);
158    ret = _cons_vcons_scrollback (vcons, type, value);    ret = _cons_vcons_scrollback (vcons, type, value);
159      _cons_vcons_console_event (vcons, CONS_EVT_OUTPUT);
160    cons_vcons_update (vcons);    cons_vcons_update (vcons);
161    mutex_unlock (&vcons->lock);    mutex_unlock (&vcons->lock);
162    return ret;    return ret;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26