diff options
author | Ben Pfaff <blp@nicira.com> | 2012-07-18 10:30:47 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-07-18 10:30:47 -0700 |
commit | 781dee0835fbea52f57389893d50b2cf9f60e41f (patch) | |
tree | ba5e84900d8e60fcd880f7060e610313c9ed690a /lib/util.h | |
parent | fd94a42c43ff4a0e57a44bdc9ded1b7e1e63faaa (diff) |
util: Introduce "subprogram_name" to identify subprocesses and threads.
This will be more useful later when we introduces "worker" subprocesses.
I don't have any current plans to introduce threading, but I can't
think of a disadvantage to wording this in a general manner.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/util.h')
-rw-r--r-- | lib/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ #endif extern const char *program_name; +extern const char *subprogram_name; /* Returns the number of elements in ARRAY. */ #define ARRAY_SIZE(ARRAY) (sizeof ARRAY / sizeof *ARRAY) |