Summary about the PHP process Communication Note point

Source: Internet
Author: User
This article mainly introduces the PHP process communication basic knowledge of the signal volume and shared memory communication related data, there is a need for small partners can be viewed under the process of who first do not determine, which depends on the kernel's process scheduling algorithm, which is more complex. As a result, it is possible for multiple processes to access shared memory at the same time, resulting in unexpected errors. The name of the semaphore is puzzling, but it is easy to understand the English original. semaphore | [ˈseməfɔ: (R)] Vt. Send a signal and semaphore; Similar to the role of commanders. Let's look at the use of the next pseudo-code semaphore. 1. Create semaphore unique identifier $ftok = Ftok (__file__, ' a '), 2, create semaphore resource id$sem_resouce_id = Sem_get ($ftok), 3, receive Semaphore sem_acqure ($sem _resource _ID); 4, release the semaphore sem_release ($sem _resource_id), 5, Destroy the signal volume SEM_

1. PHP Process Communication base signal volume and shared memory communication

Introduction: This article mainly introduces the PHP process communication basic knowledge of the signal volume and shared memory communication related information, the need for small partners can view the next

2. PHP Process Communication base signal volume and shared memory communication _php Tips

Introduction: This article mainly introduces the PHP process communication basic knowledge of the signal volume and shared memory communication related information, the need for small partners can view the next

"Related question and answer recommendation":

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.