Hello, as evas isn't thread save (like Gtk) it's a problem to update the GUI periodic from a thread. They told me in #edevelop how to solve this with use of pipes. But I think it's complicated. There's a nice concept in Gtk(mm) that works with an Dispatcher. You don't need to know anything about pipes for using it. Does something similar exist also for ecore or do you think about implementing it?
Example how to use a Dispatcher (in C++): Glib::Dispatcher dispatchSignal; GPSConnection::GPSConnection () { dispatchSignal.connect(sigc::mem_fun(*this, &GPSConnection::update)); } void GPSConnection::mycallbackThread (...) { // work, mutex, ... dispatchSignal (); } void GPSConnection::update () { // work, mutex, ... gpsConGlobal->signalData.emit (&gpsDataLocal); } ... and it simply works. So is there something similar in ecore? regards Andreas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel