Re: make use of /dev/shm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: "Danny Terweij - Net Tuning | Net" <d.terweij@xxxxxxxxxxxxx>

> > Can I point some apps's tmp dir to /dev/shm?
> 
> No leave it alone is my guess. 
> 
> Danny

Yep.  To use shared memory, you need to write programs that use specific
system calls, and you have to take special precautions to make sure that
the programs that share the memory are properly synchronized. When it
works correctly, it's beautiful and fast.  When it's used incorrectly
things can crash.  You can get an idea by looking at the manpages for
calls like shmget(), shmat(), and related calls.

Erik


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux