Remove comment that no longer describe reality.
This commit is contained in:
parent
13e3c791fc
commit
c57b57da35
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356972
@ -363,19 +363,6 @@ typedef struct nt_objref nt_objref;
|
||||
#define EVENT_TYPE_NOTIFY 0
|
||||
#define EVENT_TYPE_SYNC 1
|
||||
|
||||
/*
|
||||
* We need to use the timeout()/untimeout() API for ktimers
|
||||
* since timers can be initialized, but not destroyed (so
|
||||
* malloc()ing our own callout structures would mean a leak,
|
||||
* since there'd be no way to free() them). This means we
|
||||
* need to use struct callout_handle, which is really just a
|
||||
* pointer. To make it easier to deal with, we use a union
|
||||
* to overlay the callout_handle over the k_timerlistentry.
|
||||
* The latter is a list_entry, which is two pointers, so
|
||||
* there's enough space available to hide a callout_handle
|
||||
* there.
|
||||
*/
|
||||
|
||||
struct ktimer {
|
||||
nt_dispatch_header k_header;
|
||||
uint64_t k_duetime;
|
||||
|
Loading…
Reference in New Issue
Block a user