end18 / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

GetBSDProcessList vs get_proc_list #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
OS X unction GetBSDProcessList in arch/osx/process_info.c and BSD function 
get_proc_list in 
arch/bsd/process_info.c are different.

Both could and probably should be the same code.

Also, using consider using the same name for both, perhaps get_proc_list.

Original issue reported on code.google.com by MrJean1@gmail.com on 12 May 2009 at 9:31

GoogleCodeExporter commented 9 years ago
The subsystems and sysctl interfaces are not the same between FreeBSD and OS X, 
so we
can't reuse the same code (we could use conditional inclusion for the relevant
portions but I would prefer to keep them in separate files).

Original comment by jlo...@gmail.com on 12 May 2009 at 11:20

GoogleCodeExporter commented 9 years ago
Renamed the functions so both FreeBSD and OS X use get_proc_list() as the name 
in r399

Original comment by jlo...@gmail.com on 12 May 2009 at 11:26

GoogleCodeExporter commented 9 years ago
Can we consider this one fixed?

Original comment by billiej...@gmail.com on 17 Sep 2009 at 9:00

GoogleCodeExporter commented 9 years ago

Original comment by jlo...@gmail.com on 17 Sep 2009 at 6:30

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 13 Nov 2010 at 3:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Updated csets after the SVN -> Mercurial migration:
r399 == revision c7adef47fc8e

Original comment by g.rodola on 2 Mar 2013 at 11:49