Lines Matching refs:tls
90 node->tls = thread_get_tls();
337 struct bomp_tls *tls = calloc(1, sizeof(struct bomp_tls));
338 if (tls == NULL) {
347 tls->role = BOMP_THREAD_ROLE_NODE;
348 tls->self = thread_self();
349 tls->r.node.id = node->id;
350 tls->r.node.msgbuf = node->msgbuf;
351 tls->r.node.tls = tls;
352 tls->r.node.stack_size = node->stack_size;
366 node->stack_size, &tls->r.node);
371 assert(node->threads_max == tls->r.node.threads_max);
375 err = bomp_connect(&fi, bomp_node_connect_cb, &tls->r.thread, ws,
384 thread_set_tls(tls);
402 BOMP_NOTICE("node master %" PRIuNODEID " terminated", tls->r.node.id);