-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 62df830fd1801a9cd61f05e5449021f09fa64c4b:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 62df830fd1801a9cd61f05e5449021f09fa64c4b
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Wed Oct 15 17:16:47 2008 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index cf81c5cec86017a8b34fa40beaad2a3d3c01023b..

index ..ffa5fddcfa269a9a529646ab238572eaa94fa864 100644

--- a/Changes
+++ b/Changes
@@ -31,6 +31,8 @@ TODO: cursor over overlays, when focus change?
 	- ignore byte-order marks and do not treat them like combining characters.
         - fix build issue when CURSOR_BLINK is not defined (Emanuele Giaquinta).
         - do some ยต-optimisations to the character fast path.
+        - try to work around linux first breaking sched_yield and now breaking
+          the only known workaround.

 9.05 Sun Jun 15 20:09:20 CEST 2008
 	- new option --cd/chdir to set the starting working directory.
diff --git a/src/command.C b/src/command.C

index 737271d4190730a95b5312dca7594c0153a88497..

index ..ce5084d9594f750698db262a406b301efbf6f319 100644

--- a/src/command.C
+++ b/src/command.C
@@ -1129,8 +1129,11 @@ static struct event_handler
     // that giving a process calling sched_yield () less cpu time than
     // ones with high nice levels is a useful thing to do. It surely is is
     // allowed by the sus... as is returning ENOSYS.
+    // since the linux guys additionally thought that breaking the only
+    // known workaroudn against their unusable sched_yield hack is cool,
+    // we just nanosleep a bit and hope for the best.

-    struct timespec ts = { 0, 0 };
+    struct timespec ts = { 0, 1000 };
     nanosleep (&ts, 0);

     w.stop ();

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 11:13:56 2024