Remove ref-counting since it didn't actually do any good.

Wed May 18 22:21:52 2005  Søren Sandmann  <sandmann@redhat.com>

        * module/sysprof-module.c: Remove ref-counting since it didn't
        actually do any good.

        * sysprof.c (load_module): Use g_spawn_command_line_sync() instaed
        of system().
This commit is contained in:
Søren Sandmann
2005-05-19 02:27:18 +00:00
committed by Søren Sandmann Pedersen
parent 720e07109c
commit d9de1e5a36
4 changed files with 49 additions and 62 deletions

18
TODO
View File

@ -1,9 +1,5 @@
Before 0.9
* Correctness
- When the module is unloaded, kill all processes blocking in read
- or block unloading until all processes have exited
* Interface
- hook up menu items view/start etc (or possibly get rid of them or
move them)
@ -17,6 +13,20 @@ Before 1.0:
Before 1.2:
* Correctness
- When the module is unloaded, kill all processes blocking in read
- or block unloading until all processes have exited
Unfortunately this is basically impossible to do with a /proc
file (no open() notification). So, for 1.0 this will have to be
a dont-do-that-then. For 1.2, we should do it with a sysfs
file instead.
- When the module is unloaded, can we somehow *guarantee* that no
kernel thread is active? Doesn't look like it; however we can
get very close by decreasing a ref count just before returning
from the module. (There may still be return instructions etc.
that will get run).
- See if there is a way to make it distcheck
- grep FIXME - not10
- translation should be hooked up