PDA

View Full Version : Create Processes in linux Module



kuldeep3143
September 28th, 2008, 09:10 AM
Hello Friends, I want to write a kernel module which will spawn 10 processes ,and all these processes will update a common variable.

I used Fork(),its givin an error (actually a warning: implicit declaration of function ‘fork’)....i used clone() its givin d same error....I want to use do_fork() but am not gettin what parameters to use in that.....or please suggest some other function.....

Rocket2DMn
September 28th, 2008, 04:44 PM
Moved to the Programming Talk forum - please don't post support requests in the Tutorials & Tips section of the forum, that area is for Guides and HowTos only and threads there require staff approval. Good luck with your problem, consider this a bump.