- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to create a shared memory region (using shmat, et. al.) to use for IPC (my common blocks are huge.......close to 100M each). Problem I'm having is the start of the COMMON block needs to be page aligned in order for shmat() to work properly. Changing the value of the -align flag only appears to pad the elements of block, not altering the start of the block itself. How do I get the compiler to have the block start on a page boundary?
TIA
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See the !DEC$ PSECT ALIGN attribute in the Language Reference Manual.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page