Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

Shared Memory

Does uClinux support shared memory (shmget)? I tried running a program with it but it doesnt seem to allocate the memory.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Starting from 2.6.5 or earlier, the official Linux kernel puts sys v IPC dependent on MMU. So you don't get any of IPC methods on uClinux.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for the reply Wentao.

    Well I was going through the uClinux email list archives and thought the versions>2.4 supported some Sys V IPC but I guess it doesn't. So I guess I'll try r/w from a file on a mounted fs.