nanogui: Changing properties from another thread
Subject:
Changing properties from another thread
From:
"Marcel Karras" ####@####.####
Date:
27 Sep 2005 17:00:44 +0100
Message-Id: <3193.217.246.156.83.1127836836.squirrel@freebits.de>
Hello,
I'm using flnx and implemented a server thread which catches some events.
On an incoming event this thread should change some widget properties.
It's done by passing the "this" pointer of the widget class to the server
thread so that the server thread can change things. (done via POSIX
Threads)
The problem: It only sometimes works correctly - for the most of time
there will be errors like this one:
nxclient 7980: Wrong packet type 61 (expected 22)
nxclient 7980: Wrong packet type 1627 (expected 22)
nxclient 7980: Wrong packet type 0 (expected 22)
nxclient 7980: Wrong packet type 61 (expected 22)
nxclient 7980: Wrong packet type 1628 (expected 22)
nxclient 7980: Wrong packet type 0 (expected 22)
...
Any help would be appreciative.
Regards
- Marcel Karras