On 01/21/10 05:51 PM, [email protected] wrote:
The enable logic is pretty straight forward, and all cases are the same.
We could turn this into a function, but then we're adding another stack
frame for a pretty simple task.

My only concern with the simple bit is that it's easy to get wrong.

I recently started trying to write a fairly large function in the client.api and realised that trying to support cancellation was a nightmare, especially when relying on other api functions.

Part of that might be my uncertainty as to where and how I should catch CanceledExceptions...

--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to