[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: garbage on screen
From: |
Thomas Dickey |
Subject: |
Re: garbage on screen |
Date: |
Sun, 13 Nov 2011 10:08:36 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Wed, Nov 09, 2011 at 08:31:05PM +0000, kovacs levente wrote:
> Hi all,
>
>
> I've posted this to the other list, but I realized that there is no trafic
> there.
> Please forgive my ignorance, but I don't know where to ask questions about
> ncurses. So I post it here...
>
> I'm writing a terminal like program, and am using ncurses. I have two windows,
> one for rx one for tx.
>
> I use pthreads in my code.
>
> Everything works as expected, but I have garbage on the screen when I start my
> program.
>
> The code is here:
It looks as if both threads are using curses. That won't work since
(without the thread-support that I added as a configure option), there's
nothing to keep the two from using the same data at the same time.
(Even with that optional feature, there are limitations).
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature
- garbage on screen, kovacs levente, 2011/11/10
- Re: garbage on screen,
Thomas Dickey <=