<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://valley.egloos.com/rss/style/style.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>이글루스 'shmget' 태그 최근글</title>
		<link>http://valley.egloos.com/tag/shmget</link>
		<description>shmget</description>
		<language>ko</language>
		<pubDate>Wed, 13 Aug 2008 18:44:03 +0900</pubDate>
		<generator>Egloos</generator>
		<item>
	<title><![CDATA[POSIX shared memory]]></title>
	<link>http://purewell.egloos.com/3863415</link>
	<guid>http://purewell.egloos.com/3863415</guid>
	<description>
	<![CDATA[ 
일전에 언급한 SysV에서 처음으로 세상에 내동댕이 쳐진 IPC 집합 가운데에서 공유메모리부터 보겠다.    SysV가 가진 API는 POSIX.1-2001에도 올라와 있는 녀석이긴 하다. 함수는 shmget, shmat, shmdt, shmctl 등이 있다. 엄청나게 유명한 녀석이기 때문에 따로 자세히 설명하지 않겠다. shmget으로 공유메모리를 커널에 요청한다. 그럼 커널일 공유메모리객체를 만들기만 할 것이고, shmat을 통해 실제 프로세스 메모리에 공유메모리를 쳐바를(attach) 수 있다. shmdt는 쳐바른 공유메모리를 떼어내는데(detach) 사용하고, shmctl은 공유메모리객체를 정리하거나 기타 객체를 조작하는데 잠깐 이용한다. - 설명끝 -    shm_open은 SysV와 별도로 POS	]]>
	</description>
	<pubDate>Wed, 13 Aug 2008 18:44:03 +0900</pubDate>
	<dc:creator><![CDATA[Purewell.BIZ]]></dc:creator>
</item>
	</channel>
</rss>

