[DGD] Kernel library question

Raymond Jennings shentino at gmail.com
Wed Aug 22 13:19:18 CEST 2018


Felix:

Concerning how you originally designed the kernel library, what
happens if a callout goes off while callouts are suspended?

Inspecting the source code, it would appear that the callout is
requeued at LONG_TIME

But I noticed a potential oversight:

1.  The handle of the requeued callout might change
2.  What happens if we try to remove_call_out(old_handle)?

If a suspended callout's handle changes, should the "real" handle be
hidden from higher layers?

My hunch is that this is a bug.

Verbose commentary appreciated.



More information about the DGD mailing list