Le mardi 24 avril 2007, "David Bourgeois" <[EMAIL PROTECTED]> a écrit :
[...] > I guess we need the following structure in any case: > USB <-> status structure and command stack <-> TCP/IP > > I don't have any experience with threads and TCP/IP but can't we do > without threads at all? Isn't select() supposed to call a function > when data is available? Yes, it is generally possible to do without threads and use instead select() along with a (more or less implicit) state machine. Haven't looked how well/easily this could be done with the current daemon, though. > Now we could also use pipes to communicate with a separate USB > process as the data can be kept as raw there. We should avoid having several processes on setups where it is not necessary. Damien ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ tux-droid-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tux-droid-user
