Re: Multi-threaded Text Insertion into a TextView



DESCOMBES Thierry <descombt ipnl in2p3 fr> writes:

> I have several POSIX threads trying to insert text into a Textview. So,
> I use a POSIX mutex to be sure that text is inserted into the TextBuffer
> one after the other.
>
> Most of time, it works but sometimes, I get some GTK error message :

I'm not sure why you see this, but there's been some recent postings
on this mailing list and threads are also mentioned in the FAQ:

  http://www.gtkmm.org/docs/gtkmm-2.4/docs/FAQ/html/index.html#id2543317


Maybe the FAQ answer helps,

-- 
Ole Laursen
http://www.cs.aau.dk/~olau/



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