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
382 Color *c, *new;382 Color *c, *new;
383 Biobuf *b;383 Biobuf *b;
384 char *s;384 char *s;
385 char tmp[64];
385 int i, n;386 int i, n;
386 387
387 b = x;388 b = x;
389 n = sprint(tmp, "readcolors ");
390 fd2path(Bfildes(b), tmp+n, sizeof(tmp)-n);
391 threadsetname(tmp);
388 new = nil;392 new = nil;
389 for (i = 1; (s = Brdstr(b, '\n', 1)) != nil; i++) {393 for (i = 1; (s = Brdstr(b, '\n', 1)) != nil; i++) {
390 if (new == nil)394 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