History

set readcolors thread name

Sigrid Haflínudóttir committed 6 years ago

Commit 3255ac41 parent 46729561 file · +4 −0Browse files

Unified · Split

picker.c+4−0
@@ -382,9 +382,13 @@ readcolors(void *x) · 381 unmodified lines
382382 Color *c, *new;
383383 Biobuf *b;
384384 char *s;
385+ char tmp[64];
385386 int i, n;
386387
387388 b = x;
389+ n = sprint(tmp, "readcolors ");
390+ fd2path(Bfildes(b), tmp+n, sizeof(tmp)-n);
391+ threadsetname(tmp);
388392 new = nil;
389393 for (i = 1; (s = Brdstr(b, '\n', 1)) != nil; i++) {
390394 if (new == nil)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t