Semaphores can be binary(0 or 1) or can have additional values.
모든 프로세스에서 변경된 세마포어에 대해 Undo 엔트리들은 소거된다.
Undo entries are cleared for altered semaphores in all processes.
세마포어 설정에 대한 다음의 시스템 제한 은 .B semctl 호출에 영향을 미친다.
The following system limit on semaphore sets affects a semctl() call.
Claude Chappe는 최초의 장거리 세마포어 전신 라인을 구축한다.
Claude Chappe establishes the first long-distance semaphore telegraph line.
세마포어는 현재 C ++에서 사용할 수 없지만 뮤텍스와 조건 변수로 쉽게 구현할 수 있습니다.
Semaphores are not available in C++ as of now, but can easily be implemented with a mutex and a condition.
Semaphore Manager를 사용하면 모든 세마포어 커널 기능을 쉽게 완벽하게 제어 할 수 있습니다.
Semaphore Manager helps you to easily full control all Semaphore kernel features.
System V IPC 프로세스간 통신을 위하여 메시지 큐, 세마포어, 공유 메모리를 제공한다.
System V IPC Linux uses this technology to provide inter-process message queing, semaphores and shared memory.
EEXIST 세마포어 설정은 key 를 위해 존재하고 semflg 는 IPC _CREAT 와 IPC _EXCL 를 옹호한다(asserting).
EEXIST A semaphore set exists for key and semflg specified both IPC_CREAT and IPC_EXCL.
Semflg 에 IPC_CREAT 와 IPC_EXCL 이 설정되어 있는데, key 에 대응하는 세마포어 집합이 이미 존재한다.
IPC_CREAT and IPC_EXCL were specified, and a semaphore set corresponding to key already exists.
호출한 프로세스는 세마포어 설정에 읽기 권한이 있어야한다. GETPID 세마포어 호출은 sempid 의 값을 반환한다.
GETVAL The system call returns the value of semval for the semnum-th semaphore of the set.
Sem_release() 는 호출 과정에 의해 일반적으로 획득된 세마포어를 릴리즈한다. 그렇지 않으면, 경고를 발생시킨다.
Sem_release() releases the semaphore if it is currently acquired by the calling process, otherwise a warning is generated.
EINVAL 세마포어 세트는 존재하지 않 거나, .I semid는 0보다 작거나, nsops는 정수가 아닌 값을 갖는다.
EINVAL The semaphore set doesn't exist, or semid is less than zero, or nsops has a nonpositive value.
이 특별값이 key 를 위해 사용된다면,시스템 호출은 모두 무시되지만 semflg 의 9비트를 정렬하고 새로운 세마포어 설정을 성공적으로 생성한다.
If this special value is used for key,the system call ignores everything but the least significant 9 bits of semflg and creates a new semaphore set(on success).
ENOMEM 세마포어 설정가 설정되어져야 했지만 시스템이 새로운 데이타구조를 위한 메모리가 충분하지 않다.
ENOMEM A semaphore set has to be created but the system does not have enough memory for the new data structure.
EACCES 호출 프로세스는 명시된 연산들 중 하나에 의해 요구되는 세마포어 세트에 대한 접근 권한을 갖고 있지 않는다.
EACCES The calling process does not have the permissions required to perform the specified semaphore operations, and does not have the CAP_IPC_OWNER capability.
성공시, 반환값은 세마포어 설정 확인자(양의 정수)일 것이고, 그렇지 않으면 에러를 나타내는 errno 와 함께 -1 이 반환된다. 에러.
If successful, the return value will be the semaphore set identifier(a nonnegative integer), otherwise -1 is returned, with errno indicating the error.
동일 키로 sem_get() 를 두 번 호출하면, 각기 다른 세마포어 identifier로 반환되겠지만, 양쪽 identifier들은 동일한 세마포어에서 접근이 가능하다.
A second call to sem_get() for the same key will return a different semaphore identifier, but both identifiers access the same underlying semaphore..
ENOSPC 세마포어 설정이 생성되어져야 했지만 시스템이 시그널 설정 (SEMMNI ) 의 최대값 제한이나 세마포어 (SEMMNS ) 의 최대값 범위를 넘어섰다.
ENOSPC A semaphore set has to be created but the system limit for the maximum number of semaphore sets(SEMMNI), or the system wide maximum number of semaphores(SEMMNS), would be exceeded.
다른 하나는 웹서버와 동일한 uid로 실행하는 CGI가 (즉, suexec 나 cgiwrapper 를 사용하지않는 한 모든 CGI) 세마포어 API를 사용하여 서비스거부공격을 할 수 있는 점이다.
The other is that the semaphore API allows for a denial of service attack by any CGIs running under the same uid as the webserver(i.e., all CGIs, unless you use something like suexec or cgiwrapper).
미리 정의된 디렉토리는 \??(장치 이름), \BaseNamedObjects (뮤텍스,이벤트, 세마포어, waitable timers, 섹션 객체들), \Callback (콜백 함수들), \Device, \Drivers, \FileSystem, \KnownDlls, \Nls (language tables), \ObjectTypes (타입 객체들), \RPC Controls(RPC 포트들), \Security(보안 서브시스템 객체들) 그리고 \Window (윈도윙 서브시스템 객체들)을 포함한다.
한국어
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Bahasa indonesia
Italiano
日本語
Қазақ
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt
中文