Open
Bug 932070
Opened 12 years ago
Updated 3 years ago
implement cross-platform getpid
Categories
(NSPR :: NSPR, enhancement)
NSPR
NSPR
Tracking
(Not tracked)
NEW
People
(Reporter: keeler, Unassigned)
Details
It would be nice to have a standard, cross-platform getpid (i.e. a way to get the current process id). That way, we don't have to do things like this everywhere we want it:
#ifdef XP_WIN
#include <process.h>
#define getpid _getpid
#else
#include <unistd.h>
#endif
(see https://mxr.mozilla.org/mozilla-central/ident?i=_getpid )
Comment 1•3 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: wtc → nobody
Updated•3 years ago
|
Severity: normal → --
Type: defect → enhancement
You need to log in
before you can comment on or make changes to this bug.
Description
•