>>  <<  Usr  Pri  JfC  LJ  Phr  Dic  Rel  Voc  !:  wd  Help  User

jmf: mapped files

HANDLEs in dll calls are treated as cd type x rather than *

Name Type Description
additem verb add item to mapped noun
createjmf verb create mapped file
map verb map a file
memshare verb share memory with a process
memshareclose verb close memory shared with memshare
share verb share a mapped file
showmap verb show all mappings
unmap verb unmap a mapped file
unmapall verb unmap all mapped files

additem

add item to mapped noun

no longer necessary, but retained for compatibility

createjmf

create mapped file
createjmf fn;msize

map

map a file
[type [,trailing_shape]] map name;filename [;sharename;ro]

memshare

share memory with a process

Form: {mapping-address} =: memshare {'share-name'}

this permits sharing memory with a non-J process

memshare and memshareclose contributed by Tony Zackin

memshareclose

close memory shared with memshare

Form: memshareclose {'share-name'}

unmap

unmap a mapped file
[force] unmap name [;newsize] - 0 ok, 1 not mapped, 2 refs
newsize excludes header size for jmf files

newsize must be an increase in size

unmapall

unmap all mapped files
[force] unmapall dummy  - unmap all


>>  <<  Usr  Pri  JfC  LJ  Phr  Dic  Rel  Voc  !:  wd  Help  User