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 | |
125 | |
126 | } |
126 | } |