I am facing strange issue on Windows CE:
Running 3 EXEs
1)First exe doing some work every 8 minutes unless exit event is signaled. 2)Second exe doing some work every 5 minutes unless exit event signaled. 3)Third exe while loop is running and in while loop it do some work at random times. This while loop continues until exit event signaled.
Now this exit event is global event and can be signaled by any process.
The Problem is When I run First exe it works fine, Run second exe it works fine, run third exe it works fine
When I run all exes then only third exe runs and no instructions get executed in first and second.
As soon as third exe gets terminated first and second starts get processing. It that can be the case that while loop in third exe is taking all CPU cycles? I havn't tried putting Sleep but I think that can do some tricks. But OS should give CPU to all processes ... Any thoughts ???