|
Boost : |
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2006-02-09 01:15:20
> I see in the result_t enumeration the value internal_error, and in
> most of the member functions comments something along these lines:
> "internal_error" if message is corrupted.
> My question is, how is it possible to shared_message_queue to become
> corrupted? And if so, how can it be safe to use it?
When trying to do some of his operations, the function can find that
internal data of the queue is not correct (number of processes waiting,
the value of internal pointers, etc...). Or when the object you are
trying to pass is not really a shared message queue (an error that some
POSIX functions return when the descriptor you are using is not really
what you thought it was (or it was closed).
Hope this helps,
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk