Re: [Tutor] Multithreading and Daemon Program

2005-04-13 Thread R. Alan Monroe
> An IP Camera will send images to the server via ftp to a folder. > Each user has a folder and I want to know how I can make my app to > check the folders ('cause there is going to be many cameras sending > files and that means that the app will have to check every folder) > every x seconds? > Wi

Re: [Tutor] Multithreading and Daemon Program

2005-04-13 Thread Alberto Troiano
or every user or one for each user?? How do I achieve this?? Thanks Alberto  Gaucho>From: Pierre Barbier de Reuille <[EMAIL PROTECTED]> >To: Alberto Troiano <[EMAIL PROTECTED]>, Python Tutor >Subject: Re: [Tutor] Multithreading and Daemon Program >Date: Wed, 13 Apr 2

Re: [Tutor] Multithreading and Daemon Program

2005-04-13 Thread Pierre Barbier de Reuille
Ok, the first question is an OS related question. What OS do you use ? For the second, this kind of deamon are usually done using processes rather than threads. This is a lot safer and easier to achieve. I suppose you know how to start a new process. On UNIX, the simplest way to achieve what you

[Tutor] Multithreading and Daemon Program

2005-04-13 Thread Alberto Troiano
Hey Back again I'm need to make a daemon application and to manage multithreading The program has to check every 3 seconds if is there images inside one folder (That's only for you to know what I'm doing in case you needed) My first problem is that I can imagine a way to do a daemon.How can I make