I am wondering if a process can signal a semaphore that
is being waited by a different process?
The reason I hope to do this is that I don't want the
waiting process to do anything until the signaling
process finishes doing certain things.
I tried this. However, my waiting process seems to
wait forever even after the signaling process releases
the waited semaphore.(I did check the Sem ID in
both processes, and they were the same.)
Any advice for me? Please email me. Thanks!