[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25247: 26.0.50; Concurrency crashes with XLib

From: Eli Zaretskii
Subject: bug#25247: 26.0.50; Concurrency crashes with XLib
Date: Sat, 31 Dec 2016 13:05:41 +0200

> From: Elias Mårtenson <address@hidden>
> Date: Fri, 30 Dec 2016 19:21:08 +0800
> Cc: Tino Calancha <address@hidden>, address@hidden, address@hidden
> One interesting fact is that if I replace ‘sleep-for’ with ‘sit-for’, then 
> the updates come at exactly the expected
> time.

But only as long as blink-cursor-mode is turned on, right?  If you
turn it off before running the experiment, sit-for behaves the same as
sleep-for, right?

When blink-cursor-mode is ON, it supplies 2 events each second, and
that allows the threads that finished waiting to acquire the global
lock and insert the string.  Otherwise, the threads wait for the
global lock and do the insertions at the end.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]