It's very ugly, but at least it doesn't seem to limit you to 15 characters like on Linux (prctl/pthread_set_name_np).
That limit makes it pretty hard to provide meaningful identifiers in a non-trivial application.
That limit makes it pretty hard to provide meaningful identifiers in a non-trivial application.
Harmless I think, but sloppy.