[LCP]Help in Parallel tasks

Mohd Saifullah saif at lantana.tenet.res.in
Sat Nov 23 00:54:01 UTC 2002


On Thu, 21 Nov 2002, Andrew Weaver wrote:

> Well, it seems that what you are looking for is for the child to know that
> the parent has issued its ping. So, have the parent set the semaphore just
> ahead of its "system" call and have the child test the semaphore (not block
> on it). Make sure that the parent pings for long enough to enable the child
> to do two snmpgets.
> 

Thanks a lot for your idea, it is working. 

Thanks again,
Saif




More information about the linuxCprogramming mailing list