1753875 Members
7761 Online
108809 Solutions
New Discussion

Creating kernel thread

 
harinathreddy
New Member

Creating kernel thread

Hi,

I am new to HP-UX,  plz any once help me out  how to create kernel thread  in kernel module.

I used thread_create api to do so but I am unable to create it.

If I pass the flag DAEMON_THREAD it will be succeed , but I dont want daemon thread, if i use DEBUG_THREAD it will return with ret val 14( EFAULT).  Pease some one can tell me the flags I shoud use to create simple kernel thread in HP-UX.

 

Thanks,
Harinath