rfc:sync

This is an old revision of the document!


PHP RFC: Add pecl_sync to core

Introduction

A discussion whether it is feasible to add sync PECL extension to the core.

Proposal

Providing the functionality of pecl_sync with the core distribution.

'sync' extension introduces synchronization objects into PHP. Named and unnamed Mutex, Semaphore, Event, and Reader-Writer objects provide OS-level synchronization on both *NIX (POSIX semaphores required) and Windows platforms.

Proposed PHP Version(s)

PHP7, resp. git:master

RFC Impact

Classes that would become internal:

  • SyncMutex
  • SyncSemaphore
  • SyncEvent
  • SyncReaderWriter

Open Issues

  • pecl_sync has not been ported to PHPNG yet.
  • Possible class renaming (ie. SyncMutex => Mutex, SyncSemaphore => Semaphore, etc)
  • Documentation

Proposed Voting Choices

A simple yes/no vote with a 50%+1 majority needed for acceptance.

Changelog

  • 1.0
    • Original draft
rfc/sync.1412054976.txt.gz · Last modified: 2017/09/22 13:28 (external edit)