|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
mmap information?
Hi all
I've been trying to piece together information for a project I'm planning, and have read a little about mmap. Is there anywhere I can find out more information about it? Also, is it available on other platforms (Win, FreeBSD, Mac, etc)? Thanks.
__________________
R.T.F.M - Its the only way to fly... "No matter what you do, or how good it is, someone will always ask for more features. Or to change the colour of something, then change their minds." Personal: experience// 8 Years Web Development technologies// Standards-compliant, valid, & accessible (x)HTML/CSS, XML/XSL/XPath/XQuery/XUpdate, (OOP) PHP/(My)SQL, eXist/Xindice/XMLDBs packages// Photoshop, Illustrator, Flash/Fireworks/Director environment// FC2, MySQL, Lighttpd, PHP5, Mojavi/Agavi site// //refactored.net/ (Coming soon...) quote// Programming is the eternal competition between programmers who try to make apps more and more idiot proof and the universe that makes dumber idiots. So far, the universe is winning... |
|
#2
|
|||
|
|||
|
A lot of unixes are have System V IPC. Parts of that are the shmget, shmat, shmctl, etc. calls that create shared memory segments. Very few unix flavors have mmap.
Windows does not play the IPC game the same way. It started off using atoms, mailslots, COM objects, then moved more in the direction of threads and message pumps rather than interprocess communication as the rest of the world does it. In POSIX threads (pthreads) there is a lot of shared memory support, and pthreads exists in most flavors of unix. It is on a per thread basis, not across processes. If you want portable IPC consider: pipes or message queues. Pipes & named pipes work in most environments. Of course Windows uses non-standard api's to work with them. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > mmap information? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|