tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Missing rump_kthread_destroy() ?



In my on-going efforts to further modularize the NetBSD kernel, I'm currently prying apart the pieces of sysmon...

One of those pieces would be sysmon_taskq, which provides a lwp environment to execute callouts. In the sysmon_taskq_init() routine there is a call to kthread_create(), so it would seem reasonable that sysmon_taskq_fini() would call kthread_destroy().

Unfortunately, when building rump_allserver I discover that there is no rump emulation for kthread_destroy(). There is _create(), _join(), _exit(), and _init(), but no _destroy().

Is there a reason for not providing kthread_desetroy()? How difficult would it be to add it?

-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index