[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Does nano-x work in linux thread model?
From: "shin woojai" ####@####.#### Date: 22 Jan 2002 08:50:44 -0000 Message-Id: <OE18CBTQYIcVqeavxhg00002fad@hotmail.com> I use nano-x in thread of linux. but calling function cause next message. (I coded 'pm = GrNewPixmap(10, 10, NULL);' ) nxclient 12501: Wrong packet type 50 (expected 22) nxclient 12501: Wrong packet type 3 (expected 22) nxclient 12501: Wrong packet type 0 (expected 22) what's wrong with thread? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Does nano-x work in linux thread model?
From: Alex Holden ####@####.#### Date: 22 Jan 2002 09:23:11 -0000 Message-Id: <3C4D2EBC.6020009@linuxhacker.org> shin woojai wrote: > I use nano-x in thread of linux. but calling function cause next message. > (I coded 'pm = GrNewPixmap(10, 10, NULL);' ) > nxclient 12501: Wrong packet type 50 (expected 22) > nxclient 12501: Wrong packet type 3 (expected 22) > nxclient 12501: Wrong packet type 0 (expected 22) > what's wrong with thread? Only one thread can issue Gr*() calls and receive events. So you could have threads doing background processing, threads talking over the network, that kind of thing, but you can only have one thread drawing the UI and receiving UI events. -- ------------ Alex Holden - http://www.linuxhacker.org ------------ If it doesn't work, you're not hitting it with a big enough hammer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |