Hi list.

I tried to connect to a jabber server from a different thread, while i
was in the ecore_evas main loop. I tried it in Ruby (XMPP4R and
jabber4r libraries), and in C (Loudmouth library). Loudmouth has an
implented connect function, wich is done in a different thread, and
than calls a callback func. In ruby, I started the threads with
Thread.new{}.

The problem is that I can't connect from a different thread. The thread
stops at connecting (resolving the server's domain). But everything
works fine in the other thread, until I try to connect to the network.
Once I quit ecore main loop, the thread continues without errors
(connection is successful).

How can I connect, while I'm in the main loop (in a different thread,
so the GUI don't freeze)?

Thanks for the help.
        Sevcsik

-------------------------------------------------------------------------
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

Reply via email to