![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help me to answer this | lo-lp-kl | Shell Programming and Scripting | 0 | 05-25-2008 10:45 PM |
| Answer them if u can... | dreambig | UNIX for Dummies Questions & Answers | 5 | 12-07-2007 11:14 AM |
| quick answer | DarkestEvil | UNIX for Dummies Questions & Answers | 9 | 10-30-2007 06:42 PM |
| Is sed the answer? | LaLonde | Shell Programming and Scripting | 7 | 08-29-2007 07:45 PM |
| can any one answer ???? | mobile01 | High Level Programming | 2 | 11-30-2006 12:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Can anybody answer this.....
Hi i am trying the threads concept in unix environment using C...
but i am getting error of "wait_fd: Couldn't find procinfo for fd 24"... what does this error mean..... help me in solving this issue... Thanks in advance shivamasam |
|
||||
|
i am seeing this error at runtime.... i have cretaed a thread which monitors a particular directory for any new files,, if any file is added... this thread is needs to be active and start further processing of picking that file and so on....
but when i start the application... for the first time it is picking all the existing files in dirctory.... but during runtime if i add a new file to the dir it is giving a error of "wait_fd Couldn't find proc info for fd 24"..... why is this happpening? and i would like to know how to monitor the status of a threrad? Thanks shivamasam |
|
||||
|
1. So how does your thread monitor for new files in a directory?
2. Surely once it finds something it just the calls some routine to handle the new file, why do you need to "monitor the status of the thread"? 3. At the moment I have very little idea what you actually have so I can't make any sensible problem determination. The standard way to use threads is to 1. let threads run at their own speed 2. share information through common memory 3. synchronise operations and notify events with conditions 4. guard access with mutexes 5. cleanup with joins and pthread_cleanup_push/pop |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|