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

Function start_thread

rigs/tentec/orion.c:296–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296static void start_thread(RIG *rig)
297{
298 struct tt565_priv_data *priv = (struct tt565_priv_data *)STATE(rig)->priv;
299 pthread_attr_t attr;
300 int ret;
301
302 pthread_attr_init(&attr);
303 ret = pthread_create(&priv->threadid, &attr, read_device, rig);
304
305 if (ret != 0)
306 {
307 rig_debug(RIG_DEBUG_ERR, "%s: Orion unable to start thread\n", __func__);
308 }
309}
310
311/**
312 * \param rig The rig handle

Callers 1

tt565_openFunction · 0.70

Calls 3

pthread_attr_initFunction · 0.85
pthread_createFunction · 0.85
rig_debugFunction · 0.85

Tested by

no test coverage detected