Message Queues
Alma J Wetzker
almaw
Fri Feb 3 16:32:53 PST 2006
Steve Jardine wrote:
> SysV..
>
> On another note, when I am writing to a queue, another process sometimes reads
> it (msgget) before I have completed my write to the queue. As a result, the
> process reading the entry gets an incomplete entry. I know there must be a flag I
> am not setting correctly.
>
> Any ideas?
Isn't that usually a semaphore? That is what I generally use.
-- Alma
More information about the Linux-users
mailing list