Hi, thank you for your answer. Sorry that i didn't tell you more, i have to use the fast timer module so i have to work in the kernelspace.
Can you give me an example of programming a daemon? never done that. thank you, greets ernst 2006/12/11, Roberto A. Foglietta <[EMAIL PROTECTED]>:
2006/12/11, Ernst Mayerhofer <[EMAIL PROTECTED]<ernst.mayerhofer%40gmail.com> >: > > Hi, > > i want to check in a kernel module periodically in the database if there is a new job to do. > > Please don't ask, You should try to think: why people have to answer you if you do not want tell them much more? Now I am curious! ;-) > but i have to run the job in the kernel module. It doesn't matter for me in which way I check the SQLite database, but the kernel module has to check it or at least get the information from another program. A module which create a /proc/sqlite_job_todo virtual file in which a daemon who are cheking or polling database write down the new job to do. The module get the writing call, catch up the data describing job and execute it. Cheers, -- /roberto
-- MfG Ernst Mayerhofer
