Paul --

I recompiled owfs removing the EWOULDBLOCK workaround and modified
ow_com.c to make the open non-blocking. So far things appear to be
working which says either solution works for the ubuntu 7.10
environment.

I don't know the history of the code to know why non-blocking was
chosen originally. Any idea if the code started that way? Was it added
later to fix a problem someone saw?

My guess is that O_NONBLOCK is useful for read() where the VMIN/VTIME
parameters in the termios structure are either ignored or not
implemented.

-- charles







On Tue, Jul 29, 2008 at 10:02 AM, Paul Alfille <[EMAIL PROTECTED]> wrote:
> Looking through the code, it looks like the same general changes would be
> needed for the DS9097 and the DS9097U. I guess a generic serial write
> routine would be helpful.
>
> My only question is should we rethink the non-blocking?
>
> Paul Alfille
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to