| 670 | } // extern "C" |
| 671 | |
| 672 | void bthread_attr_set_name(bthread_attr_t* attr, const char* name) { |
| 673 | if (attr) { |
| 674 | strncpy(attr->name, name, BTHREAD_NAME_MAX_LENGTH); |
| 675 | attr->name[BTHREAD_NAME_MAX_LENGTH] = '\0'; |
| 676 | } |
| 677 | } |
no outgoing calls
no test coverage detected