MCPcopy Create free account
hub / github.com/davisking/dlib / thread_end_handler

Method thread_end_handler

dlib/logger/logger_kernel_1.cpp:352–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350// ----------------------------------------------------------------------------------------
351
352 void logger::global_data::
353 thread_end_handler (
354 )
355 {
356 auto_mutex M(m);
357 thread_id_type id = get_thread_id();
358 thread_id_type junkd;
359 uint64 junkr;
360 thread_names.remove(id,junkd,junkr);
361 }
362
363// ----------------------------------------------------------------------------------------
364

Callers

nothing calls this directly

Calls 2

removeMethod · 0.80
get_thread_idFunction · 0.50

Tested by

no test coverage detected