Am Sat, 10 Feb 2007 06:19:38 +0900 schrieb Carsten Haitzler (The
Rasterman):

> then this dispatcher needs to be threadsafe too. either way - you
> need to make something threadsafe, and pipes/fd's already are :)
> personally i ask - why do you need threads? threads are for people
> who can't schedule their own code (or in rare cases when api's or
> syscalls literally may block for long periods and you have no
> choice). 

The gpsd API creates a thread which creates (more or less) asynchronous
a callback function with GPS information. I'm sure this could be done
without threads, but gpsd uses threads. So I've to live with it and
sync it with my GUI. :-)

regards
Andreas

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to