ref: cf86eab10da9d03f889ca1d393b4ccba0087cab9
parent: 27321464a0228c2bc747b6ce873eb2031d4a46b4
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Feb 15 18:48:57 EST 2020
plan9: remove "pri 13" from sim proc
--- a/plan9.c
+++ b/plan9.c
@@ -264,16 +264,9 @@
{
vlong start, end, n;
vlong processold, processnew;
- int w, h, fd;
- char tmp[64];
+ int w, h;
threadsetname("orca/sim");
-
- snprint(tmp, sizeof(tmp), "/proc/%d/ctl", getpid());
- if((fd = open(tmp, OWRITE)) >= 0){
- fprint(fd, "pri 13\n");
- close(fd);
- }
processnew = nanosec();
for (;;) {