Use frame callback to rate-limit surface updates

This commit is contained in:
Daniel Eklöf 2019-06-13 17:14:14 +02:00
parent 9ccc8433c3
commit 71703e7dc6
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 39 additions and 2 deletions

View file

@ -57,6 +57,9 @@ slave_spawn(int ptmx)
const char *s = "hello\tbla\nfoobar\thaa";
write(STDOUT_FILENO, s, strlen(s));
sleep(1);
write(STDOUT_FILENO, "yeehaa", 6);
sleep(1000);
err: