On Mon, Mar 15, 2010 at 11:46:28AM +0100, Matthias Fuchs wrote:
> Hi Kurt,
> 
> On Thursday 11 March 2010 17:46, Kurt Van Dijck wrote:
> > On Wed, Mar 10, 2010 at 04:22:30PM +0100, Matthias Fuchs wrote:
> > > 
[...]
> > > 4) Do we have a way to flush the txqueue and block until all messages are 
> > > on the bus?
> > > fsync() does not seem to be the right choice.
> > You mean: flush the socket's queue, not the netdev's queue (the latter
> > is shared)?
> Well, since SocketCAN does not use the socket's queue for sending i mean the 
> latter.
> But with a shared queue it could take forever when an other process keeps it 
> filled.
But even if CAN_RAW used a private queue, it would still flush its
private queue into the net_device's queue. As such, the 'keeps it
filled' problem remains.
I did not mention this explicitely. 
> 
Kurt
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to