Zeekify thread naming.

I copied the same style that caf uses ("zk" with single dot and no space).
This gives some consistency with caf and avoids us wasting more
space beyond "bro: ".  OSs only give 16 characters for thread names
so anything we can gain here is nice.
This commit is contained in:
Seth Hall 2019-08-22 22:10:27 -04:00
parent 8ab0650c1e
commit 1a07df196e
2 changed files with 2 additions and 2 deletions

View file

@ -257,7 +257,7 @@ bool ReaderBackend::Init(const int arg_num_fields,
disabled = false;
SetOSName(Fmt("bro: %s", Name()));
SetOSName(Fmt("zk.%s", Name()));
num_fields = arg_num_fields;
fields = arg_fields;

View file

@ -179,7 +179,7 @@ void WriterBackend::DisableFrontend()
bool WriterBackend::Init(int arg_num_fields, const Field* const* arg_fields)
{
SetOSName(Fmt("bro: %s", Name()));
SetOSName(Fmt("zk.%s", Name()));
num_fields = arg_num_fields;
fields = arg_fields;