cvs: phpdoc /kr/functions sem.xml
| From: | Joong-yeon Choi | Date: | Wed, 24 Jan 2001 02:57:28 +0000 |
| Subject: | cvs: phpdoc /kr/functions sem.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969333883@lists.php.net to get a copy of this message | ||
pcraft Tue Jan 23 18:57:28 2001 EDT
Modified files:
/phpdoc/kr/functions sem.xml
Log:
Index: phpdoc/kr/functions/sem.xml diff -u phpdoc/kr/functions/sem.xml:1.2 phpdoc/kr/functions/sem.xml:1.3 --- phpdoc/kr/functions/sem.xml:1.2 Fri Jan 12 06:16:40 2001 +++ phpdoc/kr/functions/sem.xml Tue Jan 23 18:57:28 2001 @@ -1,44 +1,42 @@ - <reference id="ref.sem"> - <title>Semaphore and Shared Memory Functions</title> - <titleabbrev>Semaphore</titleabbrev> + <reference id="ref.sem"> + <title>ì¸ë§í¬ì´(semaphore)ì ê³µì ë©ëª¨ë¦¬(shared memory) í¨ì</title> + <titleabbrev>ì¸ë§í¬ì´</titleabbrev> <partintro> <para> - This module provides semaphore functions using System V - semaphores. Semaphores may be used to provide exclusive access to - resources on the current machine, or to limit the number of - processes that may simultaneously use a resource. + ì´ ëª¨ëì System V ì¸ë§í¬ì´ê° ì¬ì©íë ì¸ë§í¬ì´ í¨ì를 í¬í¨íë¤. + ì¸ë§í¬ì´ë íì¬ ë¨¸ì ì ììì íì ì ì¼ë¡ ì ê·¼íëë° ì¬ì©ëê±°ë + íë¡ì¸ì¤ê° ì¼ì í ììì ì¬ì©íë ê°ì를 ì ííëë° ì¬ì©ëë¤. </para> <para> - This module provides also shared memory functions using System V - shared memory. Shared memory may be used to provide access to - global variables. Different httpd-daemons and even other programs - (such as Perl, C, ...) are able to access this data to provide a - global data-exchange. Remember, that shared memory is NOT safe - against simultaneous access. Use semaphores for synchronization. + ì´ ëª¨ëì ëí System Vì ê³µì ë©ëª¨ë¦¬ë¥¼ ì¬ì©í기 ìí ê³µì ë©ëª¨ë¦¬ í¨ìë í¬í¨íë¤. + ê³µì ë©ëª¨ë¦¬ë ì ì ë³ìì ì ê·¼íëë° ì¬ì©ëë¤. + ê°ê¸° ë¤ë¥¸ httpd-daemonê³¼ ë¤ë¥¸ íë¡ê·¸ë¨(Perl, Cì ê°ì) ì¡°ì°¨ë + ì ì ë°ì´í° êµíì ì§ìíì¬ ì´ ë°ì´í°ë¥¼ ì ê·¼í ì ìë¤. + 주ìí ì ì, ê³µì ë©ëª¨ë¦¬ë ëì ì ê·¼ìë ìì íì§ ìë¤ë ê²ì´ë¤. + ë기í를 ìí´ìë ì¸ë§í¬ì´ë¥¼ ì¬ì©íë©´ ëë¤. <table> - <title>Limits of Shared Memory by the Unix OS</title> + <title>Unix OSì ìí ê³µì ë©ëª¨ë¦¬ì ì í</title> <tgroup cols="2"> <tbody> <row> <entry>SHMMAX</entry> - <entry>max size of shared memory, normally 131072 bytes</entry> + <entry>ê³µì ë©ëª¨ë¦¬ì ìµëê°, ë³´íµ 131072 ë°ì´í¸ì.</entry> </row> <row> <entry>SHMMIN</entry> - <entry>minimum size of shared memory, normally 1 byte</entry> + <entry>ê³µì ë©ëª¨ë¦¬ì ìµìê°, ë³´íµ 1ë°ì´í¸ì.</entry> </row> <row> <entry>SHMMNI</entry> <entry> - max amount of shared memory segments on a system, - normally 100 + ìì¤í ìì ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ì ìµë í©ê³, ë³´íµ 100ì. </entry> </row> <row> <entry>SHMSEG</entry> <entry> - max amount of shared memory segments per process, normally 6 + íë¡ì¸ìë¹ ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ì ìµë í©ê³, ë³´íµ 6ì. </entry> </row> </tbody> @@ -47,7 +45,7 @@ </para> <note> <simpara> - These functions do not work on Windows systems. + ì´ í¨ìë ìëì°ì¦ ìì¤í ìì ëìíì§ ìëë¤. </simpara> </note> </partintro> @@ -55,10 +53,10 @@ <refentry id="function.sem-get"> <refnamediv> <refname>sem_get</refname> - <refpurpose>Get a semaphore id</refpurpose> + <refpurpose>ì¸ë§í¬ì´ id를 ì»ì</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>sem_get</function></funcdef> @@ -72,30 +70,27 @@ </funcprototype> </funcsynopsis> <para> - Returns: A positive semaphore identifier on success, or false on - error. + ë°íê°: ì±ê³µíë©´ ì¤ì ì ì¸ ì¸ë§í¬ì´ identifierê°, ì¤í¨íë©´ ìë¬ê° ë°ìíë¤. </para> <para> - <function>Sem_get</function> returns an id that can be used to - access the System V semaphore with the given key. The semaphore - is created if necessary using the permission bits specified in - perm (defaults to 0666). The number of processes that can - acquire the semaphore simultaneously is set to max_acquire - (defaults to 1). Actually this value is set only if the process - finds it is the only process currently attached to the semaphore. - </para> - <para> - A second call to <function>sem_get</function> for the same key - will return a different semaphore identifier, but both - identifiers access the same underlying semaphore. + <function>Sem_get</function>ë 주ì´ì§ í¤ì í¨ê» System V ì¸ë§í¬ì´ì ì ê·¼íëë° ì¬ì©íë id를 ë°ííë¤. + ì¸ë§í¬ì´ë í¼ë¯¸ì ìì í¹ì í¼ë¯¸ì ë¹í¸ê° ì¬ì©ë íìì±ì´ ìì ë ìì±ëë¤(기본ê°ì 0666). + ì¸ë§í¬ì´ê° ëìì íìë¡ í ì ìë íë¡ì¸ìì ê°ìë max_acquire(기본ê°ì 1)ë¡ ì¤ì í ì ìë¤. + ì¤ì ë¡ ì´ ê°ì ì¤ì ëë¤. + ì»ì íë¡ì¸ìê° ì¼ë°ì ì¼ë¡ ì¸ë§í¬ì´ì 첨ë¶ë ê²ì¼ ê²½ì°ìë§ ì¤ì íë¤. + </para> + <para> + ëì¼ í¤ë¡ <function>sem_get</function>를 ë ë² í¸ì¶íë©´, + ê°ê¸° ë¤ë¥¸ ì¸ë§í¬ì´ identifierë¡ ë°íëê² ì§ë§, + ì쪽 identifierë¤ì ëì¼í ì¸ë§í¬ì´ìì ì ê·¼ì´ ê°ë¥íë¤. </para> <para> - See also: <function>sem_acquire</function> and + 참조: <function>sem_acquire</function>, <function>sem_release</function>. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ìì ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -104,10 +99,10 @@ <refentry id="function.sem-acquire"> <refnamediv> <refname>sem_acquire</refname> - <refpurpose>Acquire a semaphore</refpurpose> + <refpurpose>ì¸ë§í¬ì´ë¥¼ íë</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>sem_acquire</function></funcdef> @@ -115,23 +110,18 @@ </funcprototype> </funcsynopsis> <para> - Returns: true on success, false on error. + ë°íê°: ì±ê³µíë©´ true, ì¤í¨íë©´ ìë¬ë¥¼ ì¶ë ¥íë¤. </para> <para> - <function>Sem_acquire</function> blocks (if necessary) until the - semaphore can be acquired. A process attempting to acquire a - semaphore which it has already acquired will block forever - if acquiring the semaphore would cause its max_acquire value to - be exceeded. + <function>Sem_acquire</function>í¨ìë (ë§ì¼ íìíë¤ë©´)ì¸ë§í¬ì´ë¥¼ íëí ì ìì ëê¹ì§ ë§ëë¤. + ì´ë¯¸ íëë ì¸ë§í¬ì´ë¥¼ íëíë ¤ë íë¡ì¸ìê° ì¸ë§í¬ì´ì max_acquire를 ì´ê³¼íë¤ë©´ ììí ì¤ë¨ë ê²ì´ë¤. </para> <para> - After processing a request, any semaphores acquired by the - process but not explicitly released will be released automatically - and a warning will be generated. + 리íì¤í¸ ì²ë¦¬í, ëª ë°±íê² ë¦´ë¦¬ì¦ëì§ ìì íë¡ì¸ìì ìí´ íëë ì´ë¤ ì¸ë§í¬ì´ë ìëì ì¼ë¡ ë¦´ë¦¬ì¦ ëë©°, ê²½ê³ ë¥¼ ë°ììí¬ ê²ì´ë¤. + (After processing a request, any semaphores acquired by the process but not explicitly released will be released automatically and a warning will be generated.) </para> <para> - See also: <function>sem_get</function> and - <function>sem_release</function>. + 참조: <function>sem_get</function>, <function>sem_release</function>. </para> </refsect1> </refentry> @@ -139,10 +129,10 @@ <refentry id="function.sem-release"> <refnamediv> <refname>sem_release</refname> - <refpurpose>Release a semaphore</refpurpose> + <refpurpose>ì¸ë§í¬ì´ 릴리ì¦</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>sem_release</function></funcdef> @@ -150,24 +140,21 @@ </funcprototype> </funcsynopsis> <para> - Returns: true on success, false on error. + ë°íê°: ì±ê³µíë©´ true, ì¤í¨íë©´ ìë¬ ì¶ë ¥. </para> <para> - <function>Sem_release</function> releases the semaphore if it - is currently acquired by the calling process, otherwise - a warning is generated. + <function>Sem_release</function>ë í¸ì¶ ê³¼ì ì ìí´ ì¼ë°ì ì¼ë¡ íëë ì¸ë§í¬ì´ë¥¼ 릴리ì¦íë¤. + ê·¸ë ì§ ìì¼ë©´, ê²½ê³ ë¥¼ ë°ììí¨ë¤. </para> <para> - After releasing the semaphore, <function>sem_acquire</function> - may be called to re-acquire it. + ì¸ë§í¬ì´ë¥¼ 릴리ì¦í í, <function>sem_acquire</function>í¨ìë ì´ë¥¼ ì¬íëíë ¤ê³ í¸ì¶ë ê²ì´ë¤. </para> <para> - See also: <function>sem_get</function> and - <function>sem_acquire</function>. + 참조: <function>sem_get</function>, <function>sem_acquire</function>. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ììë ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -176,10 +163,10 @@ <refentry id="function.shm-attach"> <refnamediv> <refname>shm_attach</refname> - <refpurpose>Creates or open a shared memory segment</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ì´ê±°ë ìì±</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shm_attach</function></funcdef> @@ -193,23 +180,19 @@ </funcprototype> </funcsynopsis> <para> - <function>Shm_attach</function> returns an id that that can be - used to access the System V shared memory with the given key, the - first call creates the shared memory segment with mem_size - (default: sysvshm.init_mem in the <link - linkend="configuration.file">configuration file</link>, otherwise - 10000 bytes) and the optional perm-bits (default: 0666). + <function>Shm_attach</function>í¨ìë 주ì´ì§ í¤ì í¨ê» System V ê³µì ë©ëª¨ë¦¬ë¥¼ ì ê·¼í기ìí´ ì¬ì©ëë id를 ë°ííë¤. + 첫 í¸ì¶ì mem_size(기본ê°: <link linkend="configuration.file">ì¤ì íì¼</link>ììì + sysvshm.init_mem ê°, ê·¸ë ì§ ìì¼ë©´, 10000 ë°ì´í¸)ê³¼ ììì perm-bit(기본ê°: 0666)ê³¼ í¨ê» + ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ìì±íë¤. </para> <para> - A second call to <function>shm_attach</function> for the same - <parameter>key</parameter> will return a different shared memory - identifier, but both identifiers access the same underlying - shared memory. <parameter>Memsize</parameter> and - <parameter>perm</parameter> will be ignored. + ëì¼í <parameter>key</parameter> ì¸ìë¡ <function>shm_attach</function>í¨ìì ëë²ì§¸ í¸ì¶ì + ëë¤ë¥¸ ê³µì ë©ëª¨ë¦¬ identifier를 ë°íí ê²ì´ë¤. + <parameter>Memsize</parameter> ì¸ìì <parameter>perm</parameter> ì¸ìë 무ìë ê²ì´ë¤. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ììë ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -218,10 +201,10 @@ <refentry id="function.shm-detach"> <refnamediv> <refname>shm_detach</refname> - <refpurpose>Disconnects from shared memory segment</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ ì ìì ì¢ ë£</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shm_detach</function></funcdef> @@ -229,10 +212,11 @@ </funcprototype> </funcsynopsis> <para> - <function>Shm_detach</function> disconnects from the shared - memory given by the <parameter>shm_identifier</parameter> created - by <function>shm_attach</function>. Remember, that shared memory - still exist in the Unix system and the data is still present. + <function>Shm_detach</function>í¨ìë + <function>shm_attach</function>ì ìí´ ìì±ëë + <parameter>shm_identifier</parameter> ì¸ìì ìí´ ì£¼ì´ì§ ê³µì ë©ëª¨ë¦¬ë¥¼ ì¢ ë£ìí¨ë¤. + 주ìí ì ì, í¨ì를 í¸ì¶íëë¼ë Unix ìì¤í ììì ê³µì ë©ëª¨ë¦¬ë ì¬ì í ì¡´ì¬íë©°, + ë°ì´í° ìì ì¡´ì¬íê³ ìë¤ë ê²ì´ë¤. </para> </refsect1> </refentry> @@ -240,10 +224,10 @@ <refentry id="function.shm-remove"> <refnamediv> <refname>shm_remove</refname> - <refpurpose>Removes shared memory from Unix systems</refpurpose> + <refpurpose>Unix ìì¤í ìì ê³µì ë©ëª¨ë¦¬ë¥¼ ì ê±°</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shm_remove</function></funcdef> @@ -251,12 +235,11 @@ </funcprototype> </funcsynopsis> <para> - Removes shared memory from Unix systems. All data will be - destroyed. + Unix ìì¤í ìì ê³µì ë©ëª¨ë¦¬ë¥¼ ì ê±°íë©°, 모ë ë°ì´í°ê° ì ê±°ëë¤. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ììë ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -265,11 +248,10 @@ <refentry id="function.shm-put-var"> <refnamediv> <refname>shm_put_var</refname> - <refpurpose>Inserts or updates a variable in shared - memory</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë³ì를 ì½ì íê±°ë ê²½ì </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shm_put_var</function></funcdef> @@ -279,13 +261,13 @@ </funcprototype> </funcsynopsis> <para> - Inserts or updates a <parameter>variable</parameter> with a given - <parameter>variable_key</parameter>. All variable-types (double, - int, string, array) are supported. + <parameter>variable_key</parameter> ì¸ìë¡ ì£¼ì´ì§ + <parameter>variable</parameter> ì¸ì를 ì½ì íê±°ë ê²½ì íë¤. + 모ë ë³ì íì (double, int, string, array)ê° ì§ìëë¤. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ììë ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -294,11 +276,10 @@ <refentry id="function.shm-get-var"> <refnamediv> <refname>shm_get_var</refname> - <refpurpose>Returns a variable from shared memory - </refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ë¡ë¶í° ë³ì를 ë°í</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>mixed <function>shm_get_var</function></funcdef> @@ -307,13 +288,12 @@ </funcprototype> </funcsynopsis> <para> - <function>Shm_get_var</function> returns the variable with a given - <parameter>variable_key</parameter>. The variable is still present - in the shared memory. + <function>Shm_get_var</function>í¨ìë <parameter>variable_key</parameter> ì¸ìë¡ ì£¼ì´ì§ ë³ì를 ë°ííë¤. + ê³µì ë©ëª¨ë¦¬ììì ë³ìë ì¬ì í ì¡´ì¬íë¤. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ììë ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -322,11 +302,10 @@ <refentry id="function.shm-remove-var"> <refnamediv> <refname>shm_remove_var</refname> - <refpurpose>Removes a variable from shared memory - </refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ë¡ë¶í° ë³ì를 ì ê±°</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shm_remove_var</function></funcdef> @@ -335,12 +314,11 @@ </funcprototype> </funcsynopsis> <para> - Removes a variable with a given <parameter>variable_key</parameter> - and frees the occupied memory. + <parameter>variable_key</parameter>ë¡ ì£¼ì´ì§ ë³ì를 ì ê±°íê³ ì ì ë ë©ëª¨ë¦¬ìì ì ê±°íë¤. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ìì ëìíì§ ìëë¤. </simpara> </note> </refsect1>
Index: phpdoc/kr/functions/sem.xml diff -u phpdoc/kr/functions/sem.xml:1.2 phpdoc/kr/functions/sem.xml:1.3 --- phpdoc/kr/functions/sem.xml:1.2 Fri Jan 12 06:16:40 2001 +++ phpdoc/kr/functions/sem.xml Tue Jan 23 18:57:28 2001 @@ -1,44 +1,42 @@ - <reference id="ref.sem"> - <title>Semaphore and Shared Memory Functions</title> - <titleabbrev>Semaphore</titleabbrev> + <reference id="ref.sem"> + <title>ì¸ë§í¬ì´(semaphore)ì ê³µì ë©ëª¨ë¦¬(shared memory) í¨ì</title> + <titleabbrev>ì¸ë§í¬ì´</titleabbrev> <partintro> <para> - This module provides semaphore functions using System V - semaphores. Semaphores may be used to provide exclusive access to - resources on the current machine, or to limit the number of - processes that may simultaneously use a resource. + ì´ ëª¨ëì System V ì¸ë§í¬ì´ê° ì¬ì©íë ì¸ë§í¬ì´ í¨ì를 í¬í¨íë¤. + ì¸ë§í¬ì´ë íì¬ ë¨¸ì ì ììì íì ì ì¼ë¡ ì ê·¼íëë° ì¬ì©ëê±°ë + íë¡ì¸ì¤ê° ì¼ì í ììì ì¬ì©íë ê°ì를 ì ííëë° ì¬ì©ëë¤. </para> <para> - This module provides also shared memory functions using System V - shared memory. Shared memory may be used to provide access to - global variables. Different httpd-daemons and even other programs - (such as Perl, C, ...) are able to access this data to provide a - global data-exchange. Remember, that shared memory is NOT safe - against simultaneous access. Use semaphores for synchronization. + ì´ ëª¨ëì ëí System Vì ê³µì ë©ëª¨ë¦¬ë¥¼ ì¬ì©í기 ìí ê³µì ë©ëª¨ë¦¬ í¨ìë í¬í¨íë¤. + ê³µì ë©ëª¨ë¦¬ë ì ì ë³ìì ì ê·¼íëë° ì¬ì©ëë¤. + ê°ê¸° ë¤ë¥¸ httpd-daemonê³¼ ë¤ë¥¸ íë¡ê·¸ë¨(Perl, Cì ê°ì) ì¡°ì°¨ë + ì ì ë°ì´í° êµíì ì§ìíì¬ ì´ ë°ì´í°ë¥¼ ì ê·¼í ì ìë¤. + 주ìí ì ì, ê³µì ë©ëª¨ë¦¬ë ëì ì ê·¼ìë ìì íì§ ìë¤ë ê²ì´ë¤. + ë기í를 ìí´ìë ì¸ë§í¬ì´ë¥¼ ì¬ì©íë©´ ëë¤. <table> - <title>Limits of Shared Memory by the Unix OS</title> + <title>Unix OSì ìí ê³µì ë©ëª¨ë¦¬ì ì í</title> <tgroup cols="2"> <tbody> <row> <entry>SHMMAX</entry> - <entry>max size of shared memory, normally 131072 bytes</entry> + <entry>ê³µì ë©ëª¨ë¦¬ì ìµëê°, ë³´íµ 131072 ë°ì´í¸ì.</entry> </row> <row> <entry>SHMMIN</entry> - <entry>minimum size of shared memory, normally 1 byte</entry> + <entry>ê³µì ë©ëª¨ë¦¬ì ìµìê°, ë³´íµ 1ë°ì´í¸ì.</entry> </row> <row> <entry>SHMMNI</entry> <entry> - max amount of shared memory segments on a system, - normally 100 + ìì¤í ìì ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ì ìµë í©ê³, ë³´íµ 100ì. </entry> </row> <row> <entry>SHMSEG</entry> <entry> - max amount of shared memory segments per process, normally 6 + íë¡ì¸ìë¹ ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ì ìµë í©ê³, ë³´íµ 6ì. </entry> </row> </tbody> @@ -47,7 +45,7 @@ </para> <note> <simpara> - These functions do not work on Windows systems. + ì´ í¨ìë ìëì°ì¦ ìì¤í ìì ëìíì§ ìëë¤. </simpara> </note> </partintro> @@ -55,10 +53,10 @@ <refentry id="function.sem-get"> <refnamediv> <refname>sem_get</refname> - <refpurpose>Get a semaphore id</refpurpose> + <refpurpose>ì¸ë§í¬ì´ id를 ì»ì</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>sem_get</function></funcdef> @@ -72,30 +70,27 @@ </funcprototype> </funcsynopsis> <para> - Returns: A positive semaphore identifier on success, or false on - error. + ë°íê°: ì±ê³µíë©´ ì¤ì ì ì¸ ì¸ë§í¬ì´ identifierê°, ì¤í¨íë©´ ìë¬ê° ë°ìíë¤. </para> <para> - <function>Sem_get</function> returns an id that can be used to - access the System V semaphore with the given key. The semaphore - is created if necessary using the permission bits specified in - perm (defaults to 0666). The number of processes that can - acquire the semaphore simultaneously is set to max_acquire - (defaults to 1). Actually this value is set only if the process - finds it is the only process currently attached to the semaphore. - </para> - <para> - A second call to <function>sem_get</function> for the same key - will return a different semaphore identifier, but both - identifiers access the same underlying semaphore. + <function>Sem_get</function>ë 주ì´ì§ í¤ì í¨ê» System V ì¸ë§í¬ì´ì ì ê·¼íëë° ì¬ì©íë id를 ë°ííë¤. + ì¸ë§í¬ì´ë í¼ë¯¸ì ìì í¹ì í¼ë¯¸ì ë¹í¸ê° ì¬ì©ë íìì±ì´ ìì ë ìì±ëë¤(기본ê°ì 0666). + ì¸ë§í¬ì´ê° ëìì íìë¡ í ì ìë íë¡ì¸ìì ê°ìë max_acquire(기본ê°ì 1)ë¡ ì¤ì í ì ìë¤. + ì¤ì ë¡ ì´ ê°ì ì¤ì ëë¤. + ì»ì íë¡ì¸ìê° ì¼ë°ì ì¼ë¡ ì¸ë§í¬ì´ì 첨ë¶ë ê²ì¼ ê²½ì°ìë§ ì¤ì íë¤. + </para> + <para> + ëì¼ í¤ë¡ <function>sem_get</function>를 ë ë² í¸ì¶íë©´, + ê°ê¸° ë¤ë¥¸ ì¸ë§í¬ì´ identifierë¡ ë°íëê² ì§ë§, + ì쪽 identifierë¤ì ëì¼í ì¸ë§í¬ì´ìì ì ê·¼ì´ ê°ë¥íë¤. </para> <para> - See also: <function>sem_acquire</function> and + 참조: <function>sem_acquire</function>, <function>sem_release</function>. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ìì ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -104,10 +99,10 @@ <refentry id="function.sem-acquire"> <refnamediv> <refname>sem_acquire</refname> - <refpurpose>Acquire a semaphore</refpurpose> + <refpurpose>ì¸ë§í¬ì´ë¥¼ íë</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>sem_acquire</function></funcdef> @@ -115,23 +110,18 @@ </funcprototype> </funcsynopsis> <para> - Returns: true on success, false on error. + ë°íê°: ì±ê³µíë©´ true, ì¤í¨íë©´ ìë¬ë¥¼ ì¶ë ¥íë¤. </para> <para> - <function>Sem_acquire</function> blocks (if necessary) until the - semaphore can be acquired. A process attempting to acquire a - semaphore which it has already acquired will block forever - if acquiring the semaphore would cause its max_acquire value to - be exceeded. + <function>Sem_acquire</function>í¨ìë (ë§ì¼ íìíë¤ë©´)ì¸ë§í¬ì´ë¥¼ íëí ì ìì ëê¹ì§ ë§ëë¤. + ì´ë¯¸ íëë ì¸ë§í¬ì´ë¥¼ íëíë ¤ë íë¡ì¸ìê° ì¸ë§í¬ì´ì max_acquire를 ì´ê³¼íë¤ë©´ ììí ì¤ë¨ë ê²ì´ë¤. </para> <para> - After processing a request, any semaphores acquired by the - process but not explicitly released will be released automatically - and a warning will be generated. + 리íì¤í¸ ì²ë¦¬í, ëª ë°±íê² ë¦´ë¦¬ì¦ëì§ ìì íë¡ì¸ìì ìí´ íëë ì´ë¤ ì¸ë§í¬ì´ë ìëì ì¼ë¡ ë¦´ë¦¬ì¦ ëë©°, ê²½ê³ ë¥¼ ë°ììí¬ ê²ì´ë¤. + (After processing a request, any semaphores acquired by the process but not explicitly released will be released automatically and a warning will be generated.) </para> <para> - See also: <function>sem_get</function> and - <function>sem_release</function>. + 참조: <function>sem_get</function>, <function>sem_release</function>. </para> </refsect1> </refentry> @@ -139,10 +129,10 @@ <refentry id="function.sem-release"> <refnamediv> <refname>sem_release</refname> - <refpurpose>Release a semaphore</refpurpose> + <refpurpose>ì¸ë§í¬ì´ 릴리ì¦</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>sem_release</function></funcdef> @@ -150,24 +140,21 @@ </funcprototype> </funcsynopsis> <para> - Returns: true on success, false on error. + ë°íê°: ì±ê³µíë©´ true, ì¤í¨íë©´ ìë¬ ì¶ë ¥. </para> <para> - <function>Sem_release</function> releases the semaphore if it - is currently acquired by the calling process, otherwise - a warning is generated. + <function>Sem_release</function>ë í¸ì¶ ê³¼ì ì ìí´ ì¼ë°ì ì¼ë¡ íëë ì¸ë§í¬ì´ë¥¼ 릴리ì¦íë¤. + ê·¸ë ì§ ìì¼ë©´, ê²½ê³ ë¥¼ ë°ììí¨ë¤. </para> <para> - After releasing the semaphore, <function>sem_acquire</function> - may be called to re-acquire it. + ì¸ë§í¬ì´ë¥¼ 릴리ì¦í í, <function>sem_acquire</function>í¨ìë ì´ë¥¼ ì¬íëíë ¤ê³ í¸ì¶ë ê²ì´ë¤. </para> <para> - See also: <function>sem_get</function> and - <function>sem_acquire</function>. + 참조: <function>sem_get</function>, <function>sem_acquire</function>. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ììë ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -176,10 +163,10 @@ <refentry id="function.shm-attach"> <refnamediv> <refname>shm_attach</refname> - <refpurpose>Creates or open a shared memory segment</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ì´ê±°ë ìì±</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shm_attach</function></funcdef> @@ -193,23 +180,19 @@ </funcprototype> </funcsynopsis> <para> - <function>Shm_attach</function> returns an id that that can be - used to access the System V shared memory with the given key, the - first call creates the shared memory segment with mem_size - (default: sysvshm.init_mem in the <link - linkend="configuration.file">configuration file</link>, otherwise - 10000 bytes) and the optional perm-bits (default: 0666). + <function>Shm_attach</function>í¨ìë 주ì´ì§ í¤ì í¨ê» System V ê³µì ë©ëª¨ë¦¬ë¥¼ ì ê·¼í기ìí´ ì¬ì©ëë id를 ë°ííë¤. + 첫 í¸ì¶ì mem_size(기본ê°: <link linkend="configuration.file">ì¤ì íì¼</link>ììì + sysvshm.init_mem ê°, ê·¸ë ì§ ìì¼ë©´, 10000 ë°ì´í¸)ê³¼ ììì perm-bit(기본ê°: 0666)ê³¼ í¨ê» + ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ìì±íë¤. </para> <para> - A second call to <function>shm_attach</function> for the same - <parameter>key</parameter> will return a different shared memory - identifier, but both identifiers access the same underlying - shared memory. <parameter>Memsize</parameter> and - <parameter>perm</parameter> will be ignored. + ëì¼í <parameter>key</parameter> ì¸ìë¡ <function>shm_attach</function>í¨ìì ëë²ì§¸ í¸ì¶ì + ëë¤ë¥¸ ê³µì ë©ëª¨ë¦¬ identifier를 ë°íí ê²ì´ë¤. + <parameter>Memsize</parameter> ì¸ìì <parameter>perm</parameter> ì¸ìë 무ìë ê²ì´ë¤. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ììë ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -218,10 +201,10 @@ <refentry id="function.shm-detach"> <refnamediv> <refname>shm_detach</refname> - <refpurpose>Disconnects from shared memory segment</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ ì ìì ì¢ ë£</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shm_detach</function></funcdef> @@ -229,10 +212,11 @@ </funcprototype> </funcsynopsis> <para> - <function>Shm_detach</function> disconnects from the shared - memory given by the <parameter>shm_identifier</parameter> created - by <function>shm_attach</function>. Remember, that shared memory - still exist in the Unix system and the data is still present. + <function>Shm_detach</function>í¨ìë + <function>shm_attach</function>ì ìí´ ìì±ëë + <parameter>shm_identifier</parameter> ì¸ìì ìí´ ì£¼ì´ì§ ê³µì ë©ëª¨ë¦¬ë¥¼ ì¢ ë£ìí¨ë¤. + 주ìí ì ì, í¨ì를 í¸ì¶íëë¼ë Unix ìì¤í ììì ê³µì ë©ëª¨ë¦¬ë ì¬ì í ì¡´ì¬íë©°, + ë°ì´í° ìì ì¡´ì¬íê³ ìë¤ë ê²ì´ë¤. </para> </refsect1> </refentry> @@ -240,10 +224,10 @@ <refentry id="function.shm-remove"> <refnamediv> <refname>shm_remove</refname> - <refpurpose>Removes shared memory from Unix systems</refpurpose> + <refpurpose>Unix ìì¤í ìì ê³µì ë©ëª¨ë¦¬ë¥¼ ì ê±°</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shm_remove</function></funcdef> @@ -251,12 +235,11 @@ </funcprototype> </funcsynopsis> <para> - Removes shared memory from Unix systems. All data will be - destroyed. + Unix ìì¤í ìì ê³µì ë©ëª¨ë¦¬ë¥¼ ì ê±°íë©°, 모ë ë°ì´í°ê° ì ê±°ëë¤. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ììë ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -265,11 +248,10 @@ <refentry id="function.shm-put-var"> <refnamediv> <refname>shm_put_var</refname> - <refpurpose>Inserts or updates a variable in shared - memory</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë³ì를 ì½ì íê±°ë ê²½ì </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shm_put_var</function></funcdef> @@ -279,13 +261,13 @@ </funcprototype> </funcsynopsis> <para> - Inserts or updates a <parameter>variable</parameter> with a given - <parameter>variable_key</parameter>. All variable-types (double, - int, string, array) are supported. + <parameter>variable_key</parameter> ì¸ìë¡ ì£¼ì´ì§ + <parameter>variable</parameter> ì¸ì를 ì½ì íê±°ë ê²½ì íë¤. + 모ë ë³ì íì (double, int, string, array)ê° ì§ìëë¤. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ììë ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -294,11 +276,10 @@ <refentry id="function.shm-get-var"> <refnamediv> <refname>shm_get_var</refname> - <refpurpose>Returns a variable from shared memory - </refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ë¡ë¶í° ë³ì를 ë°í</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>mixed <function>shm_get_var</function></funcdef> @@ -307,13 +288,12 @@ </funcprototype> </funcsynopsis> <para> - <function>Shm_get_var</function> returns the variable with a given - <parameter>variable_key</parameter>. The variable is still present - in the shared memory. + <function>Shm_get_var</function>í¨ìë <parameter>variable_key</parameter> ì¸ìë¡ ì£¼ì´ì§ ë³ì를 ë°ííë¤. + ê³µì ë©ëª¨ë¦¬ììì ë³ìë ì¬ì í ì¡´ì¬íë¤. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ììë ëìíì§ ìëë¤. </simpara> </note> </refsect1> @@ -322,11 +302,10 @@ <refentry id="function.shm-remove-var"> <refnamediv> <refname>shm_remove_var</refname> - <refpurpose>Removes a variable from shared memory - </refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ë¡ë¶í° ë³ì를 ì ê±°</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shm_remove_var</function></funcdef> @@ -335,12 +314,11 @@ </funcprototype> </funcsynopsis> <para> - Removes a variable with a given <parameter>variable_key</parameter> - and frees the occupied memory. + <parameter>variable_key</parameter>ë¡ ì£¼ì´ì§ ë³ì를 ì ê±°íê³ ì ì ë ë©ëª¨ë¦¬ìì ì ê±°íë¤. </para> <note> <simpara> - This function does not work on Windows systems + ì´ í¨ìë ìëì°ì¦ ìì¤í ìì ëìíì§ ìëë¤. </simpara> </note> </refsect1>