×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Mihael:
No "memalign" function is needed on OS/400 or i5/OS. All allocations
from the are always aligned on a quadword (16 byte) boundary, unless you
take actions to override this default behavior.
Consider what happens if you allocate a chunk of memory to contain a
data structure that contains one or more MI pointers. If the allocated
block was not aligned on a quadword, how would you ever know that the MI
pointers within your data structures would be properly aligned (at runtime)?
Mark
On 12/13/2010 9:27 AM, Schmidt, Mihael wrote:
Hi,
as there is no memalign (or posix_memalign) function on the i I am trying to roll my own. Does anybody sees some obvious mistake in my posix_memalign implementation?
I used this as a base for implementation: http://linux.die.net/man/3/posix_memalign
Thanx for any advice
...(snip)...
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.