setting aside SAMPLE_EVENT_xxx ranges for applications
Linus Torvalds
torvalds at linux-foundation.org
Tue May 6 10:57:51 PDT 2014
On Tue, May 6, 2014 at 10:44 AM, Jef Driesen <jef at libdivecomputer.org> wrote:
>
> How is that different from what we have today? If libdivecomputer gets some
> new event today, then subsurface will not be able to use it, until some code
> is added to handle it properly.
Sure it can. We may not know what it is, but we can still save the
event number and data, and at least it's there. And this is not
theoretical. We've done this.
If we use some totally disjoint "these are our events", we can't do that.
This is the *only* reason we use that horrid type/flags/value model in
the first place. But it's a big reason. And you just seemed to totally
dismiss it.
Linus
More information about the devel
mailing list