Re: Probleme With Threads.
- From: Mark Roberts <gtkmm manumark de>
- To: Florent Blanchon <florent blanchon gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Probleme With Threads.
- Date: Fri, 4 Sep 2009 17:30:13 +0200 (CEST)
Hello Florent,
On Fri, 4 Sep 2009, Florent Blanchon wrote:
I've tried with a pthread mechanism, by passing main class in argument,
but, when I arrive at
PlotTest->m_plot.scale(PlotMM::AXIS_LEFT)->set_range( Ymin,
Ymax);
You cannot call gtkmm functions from your worker thread. You need to do
the socket stuff in the worker thread and transfer the data to the main
thread, which then calls gtkmm.
Mark
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]