MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / close_microham

Function close_microham

src/microham.c:164–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162
163
164static void close_microham()
165{
166 if (!uh_is_initialized)
167 {
168 return;
169 }
170
171 TRACE("%10d:Closing MicroHam device\n", TIME);
172 uh_is_initialized = 0;
173 // wait for read_device thread to finish
174 pthread_join(readthread, NULL);
175 close_all_files();
176}
177
178
179#if defined(WIN32) || !defined(HAVE_GLOB_H)

Callers 3

uh_close_pttFunction · 0.85
uh_close_radioFunction · 0.85
uh_close_wkeyFunction · 0.85

Calls 2

pthread_joinFunction · 0.85
close_all_filesFunction · 0.85

Tested by

no test coverage detected