next up previous
Next: Synchronization Up: Application Programming Interface Previous: Process Creation

3.3 Memory Allocation

void *SMP_Getshmem(size_t size);
SUBROUTINE SMP_GETSHMEM(REFP, KIND, SIZE, IOFF)
<type>  REFP(1)
INTEGER KIND, SIZE
<pointer> IOFF
SUBROUTINE SMP_GETSHMEMP(KIND, SIZE, IPTR)
INTEGER KIND, SIZE
POINTER IPTR

void *SMP_Resetshmem(void *ptr, size_t size);

SUBROUTINE SMP_RESETSHMEM(REFP, KIND, SIZE, IOFF)
<type>  REFP(1)
INTEGER KIND, SIZE
<pointer> IOFF
SUBROUTINE SMP_RESETSHMEMP(KIND, SIZE, IPTR)
INTEGER KIND, SIZE
POINTER IPTR

int SMP_Pagesize(void);

INTEGER FUNCTION SMP_PAGESIZE()


next up previous
Next: Synchronization Up: Application Programming Interface Previous: Process Creation
Haoqiang Jin 2005-08-10