Hi Everybody,
Do any one has any idea what can cause the call to shmctl(…, SHMCTL_PHYS,
…) to fail?
Any help is greatly appreciated.
Thx inadvance,
Mankan Srinivas
Hi Everybody,
Do any one has any idea what can cause the call to shmctl(…, SHMCTL_PHYS,
…) to fail?
Any help is greatly appreciated.
Mankan Srinivas
Sure your request for physically contiguous memory cannot be filled.
Permissions, availability or hardware limitations all come into play.
-Adam
Mankan <smankan@nospam.ueidaq.com> wrote in message
news:b1oet6$svq$1@inn.qnx.com…
Hi Everybody,
Do any one has any idea what can cause the call to shmctl(…,
SHMCTL_PHYS,
…) to fail?Any help is greatly appreciated.
Thx inadvance,
Mankan Srinivas
Mankan <smankan@nospam.ueidaq.com> wrote:
Hi Everybody,
Do any one has any idea what can cause the call to shmctl(…, SHMCTL_PHYS,
…) to fail?
What did it return?
What was errno set to after it failed?
Were you running as root? (Superuser, uid = 0 )? You need to be root to
deal with physical memory generally.
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.