where is FreeBSD's corresponding data structure for Linux's "struct timer_list ?"

Is "ktimer" the one for Linux "struct timer_list ?"

Is "ktimer" the one ?


Code:
struct ktimer {
	nt_dispatch_header	k_header;
	uint64_t		k_duetime;
	union {
		list_entry		k_timerlistentry;
		struct callout		*k_callout;
	} u;
	void			*k_dpc;
	uint32_t		k_period;
};
 
Obviously not, ktimer is Windows crap.

And FreeBSD do not need to have corresponding data structure with Linux at all.
 
richardpl said:
Obviously not, ktimer is Windows crap.

And FreeBSD do not need to have corresponding data structure with Linux at all.

There was no need to be aggressive like that =/
Maybe not the same structure, but he refers to *where* you can get the same functionality/information in FreeBSD.
 
Thanks your reply anyway.

What and where is the FreeBSD's mechanism for timeout timer?

Sincerely,
Liu
 
Back
Top