ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/iom.C
(Generate patch)

Comparing gvpe/src/iom.C (file contents):
Revision 1.34 by pcg, Thu Jan 19 20:16:06 2006 UTC vs.
Revision 1.36 by pcg, Thu Dec 14 03:18:53 2006 UTC

1/* 1/*
2 iom.C -- generic I/O multiplexer 2 iom.C -- generic I/O multiplexer
3 Copyright (C) 2003, 2004 Marc Lehmann <gvpe@schmorp.de> 3 Copyright (C) 2003-2006 Marc Lehmann <gvpe@schmorp.de>
4 4
5 This file is part of GVPE. 5 This file is part of GVPE.
6 6
7 GVPE is free software; you can redistribute it and/or modify 7 GVPE is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
116 116
117 if (!w) 117 if (!w)
118 pw.erase_unordered (i); 118 pw.erase_unordered (i);
119 else if (w->pid == pid) 119 else if (w->pid == pid)
120 { 120 {
121 w->stop (); 121 io_manager::unreg (*w);
122 w->call (*w, status); 122 w->call (*w, status);
123 } 123 }
124 } 124 }
125
126 } 125 }
127 126
128 sw0 () 127 sw0 ()
129 : sig_watcher (this, &sw0::cb) 128 : sig_watcher (this, &sw0::cb)
130 { } 129 { }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines