Shankar Venugopal wrote:
> Hi,
> I am newbie to Solaris. I am trying to write a module which uses LDI
> interface to issue read operation to another driver. I want the read
> operation to be run in a separate thread.
> Is there API similar to kernel_thread()[API used to create kernel thread
> in Linux]?
>
Check out ddi_taskq_create() and ddi_taskq_dispatch(). Its the only API
that is part of the DDI. (There is kthread_create() as well, but I
don't recommend its use in unbundled drivers.)
-- Garrett
> Thanks,
> Shankar
> _______________________________________________
> driver-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss