bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting the openmode in netfs callbacks


From: Thomas Bushnell, BSG
Subject: Re: getting the openmode in netfs callbacks
Date: 04 Jun 2002 22:46:04 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Marcus Brinkmann <address@hidden> writes:

> how am I supposed to get the openmodes in netfs callbacks like
> netfs_attempt_read?
> 
> This is critical to implement O_NONBLOCK behaviour correctly.
> But the interface is giving me user->user and user->po->np,
> but I need user->po->openmodes.

Netfs implements only files, and files don't block on read, ever.

I would prefer a different library if you want to support something
different.  But, failing that, if you just want it to work now, using
the "wrong" library, the thing to do is to extend netfs/io-read.c to
do what you want.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]