From: Sergei N. <vo...@ra...> - 2015-01-13 11:58:19
|
Hi! I am writing a program that periodically pulls data over a serial line. It has to process and plot them. The plotting is done into a GDK_PIXMAP. In order to pull data periodically I start a separate gdk thread with g_timeout_add_seconds(). What I find however is that all plplot commands that are given from inside this separate thread seem to be getting ignored. Is there any explanation and/or example on plotting in multithreaded environments? It doesn't seem right to reinitialize everything every time a thread in executed. Thanks a lot in advance, -- Sergei |