![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| Registered User Join Date: Nov 2008
Posts: 7
| Can we have a daemon process that sleeps until a file is created( like a blocked file open) and when the file is created does some job and then deletes the file, sleeps again until the file is created again The program can be like Code: while() //daemon process, indefinite loop
{
until the file is created ( sleep ) // this will not be polling, but a blocked mode
<do a job> // now that the file is created
< delete the file >
}
Thanks in advance |
| Krsh is offline | |
| | #2 |
| CSharpener Join Date: Oct 2006
Posts: 5,331
| Have you read this http://msdn.microsoft.com/en-us/libr...61(VS.85).aspx ?
__________________ If I have eight hours for cutting wood, I spend six sharpening my axe. |
| vart is online now | |
| | #3 |
| Registered User Join Date: Nov 2008
Posts: 7
| Thanks dude. This seems to be doable. I am quite new to this windows C++ programming. Can you suggest any book or tutorial. I just require a mediocre knowledge, only for this particular proj. Thanks for the help. |
| Krsh is offline | |
| | #4 | |
| CSharpener Join Date: Oct 2006
Posts: 5,331
| Quote:
Windows programming links and this C++ Book Recommendations ?
__________________ If I have eight hours for cutting wood, I spend six sharpening my axe. | |
| vart is online now | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie homework help | fossage | C Programming | 3 | 04-30-2009 04:27 PM |
| Just starting Windows Programming, School me! | Shamino | Windows Programming | 17 | 02-22-2008 08:14 AM |
| Can we have vector of vector? | ketu1 | C++ Programming | 24 | 01-03-2008 05:02 AM |
| Need a suggestion on a school project.. | Screwz Luse | C Programming | 5 | 11-27-2001 02:58 AM |
| Invoking MSWord | Donn | C Programming | 21 | 09-08-2001 04:08 PM |