Closed GoogleCodeExporter closed 9 years ago
It seems that on FreeBSD we might use setproctitle():
http://www.rocketaware.com/man/man3/setproctitle.3.htm
Original comment by billiej...@gmail.com
on 9 May 2009 at 12:48
After some research it turned out this is not easy to implement as I thought at
first
because of some major problems related to the portability.
First of all, setproctitle() seems to be broken on OS X:
http://lists.apple.com/archives/darwin-userlevel/2001/Dec/msg00004.html
Despite the issue goes back to year 2001 I asked Jay to verify whether
setproctitle()
is available on a modern OS X system but unfortunately he discovered it is not.
At a first look it seems there's no setproctitle() substitute. That doesn't
mean it
wouldn't be possible to implement such thing in other ways at all but it would
surely
be a lot harder.
In summary the OS X support would be let off.
Another big problem is that neither prctl() nor setproctitle() is able to change
other process names except the current one.
Windows support is definitively left out since there's no such
prctl()/setproctitle()
equivalent at all.
This would let us with a support working only on 2 platforms out of 4 (Linux and
FreeBSD) and only for the current process, which goes against the
multiple-processes
imprint the library has lead so far.
For all these reasons I think it's better to close this one as WontFix, unless
we
don't find different solutions in future.
Original comment by billiej...@gmail.com
on 11 May 2009 at 4:20
Original issue reported on code.google.com by
billiej...@gmail.com
on 9 May 2009 at 12:38