Semaphore msg_queue_exists
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
msg_queue_exists — 메시지 큐가 존재하는지 확인
설명
msg_queue_exists(int $key
): bool
메시지 큐 key
가 존재하는지 확인합니다.
매개변수
key
- Queue key.
반환 값
성공하면 true
를, 실패하면 false
를 반환합니다.
기타
- msg_remove_queue() - 메시지 큐 파괴
- msg_receive() - 메시지 대기열에서 메시지 수신
- msg_stat_queue() - 메시지 큐 데이터 구조에서 정보를 반환합니다.