On Sun, Feb 13, 2005 at 09:31:19AM -0800, David Wheeler wrote:
> On Feb 13, 2005, at 5:24 AM, Michael A Chase tech wrote:
> 
> >Does a handle know its cached?

No.

> >Maybe the answer it to not allow changing attributes on a cached handle.
> 
> That's already the rule and would not change.

Er, that's news to me.

Different applications use handle caching for different reasons.
For many changing attribute values is okay. But I can see value in
making it easy to warn or die on attribute changes.

If we had per-handle-per-method callbacks (as previously discussed)
then it would be easy to add a callback for STORE to implement that.
That's the only practical way to do it without modifying all drivers.

Tim.

Reply via email to