Skip to content

Releases: amphp/parallel

2.3.0

11 Oct 03:19
v2.3.0
9777db1
Compare
Choose a tag to compare

What's Changed

  • Added LimitedWorkerPool extending WorkerPool in #205.
  • Added DelegatingWorkerPool implementing LimitedWorkerPool, which will only allow a limited number of workers to be pulled from a delegate WorkerPool instance.
  • ContextWorkerPool also now implements LimitedWorkerPool, as this pool implementation was already spawned a limited number of workers.

Full Changelog: v2.2.9...v2.3.0

2.2.9

24 Mar 19:10
v2.2.9
73d293f
Compare
Choose a tag to compare

What's Changed

  • Fixed a race condition if outstanding accept calls were pending when closing SocketIpcHub.
  • Removed use of error-suppression operator to avoid warnings from mis-configured error handlers (#200).

Full Changelog: v2.2.8...v2.2.9

2.2.8

19 Mar 17:05
v2.2.8
efd71b3
Compare
Choose a tag to compare

What's Changed

  • Fixed race condition on concurrent IPC connect calls (#199)
    Thank you @Nadyita for reporting and debugging this issue.

2.2.7

16 Mar 16:20
v2.2.7
ffda869
Compare
Choose a tag to compare

What's Changed

  • Fixed cancelled tasks still being submitted to task workers.
  • Marked result and receive template types on Context as covariant.
  • Small improvements on examples by @thgs in #194

Full Changelog: v2.2.6...v2.2.7

2.2.6

07 Jan 18:47
v2.2.6
5aeaad2
Compare
Choose a tag to compare

What's Changed

  • Fixed hang during shutdown if a process or thread context has not ended (fixes amphp/file#75).

Full Changelog: v2.2.5...v2.2.6

2.2.5

27 Dec 18:58
v2.2.5
7b53bad
Compare
Choose a tag to compare

What's Changed

  • Fixed potential hang during shutdown if the process context returned from DefaultContextFactory was not shutdown.

Full Changelog: v2.2.4...v2.2.5

2.2.4

29 Nov 04:45
v2.2.4
8b8f33a
Compare
Choose a tag to compare

What's Changed

  • Fixed SocketIpcHub not removing the temporary socket file if the object was not explicitly closed before destruction (fixes #183).
  • Add previous exception message when fail to start process by @thgs in #192

New Contributors

  • @thgs made their first contribution in #192

Full Changelog: v2.2.3...v2.2.4

2.2.3

25 Nov 00:24
v2.2.3
223c47c
Compare
Choose a tag to compare

What's Changed

  • Fixed accepting a socket with SocketIpcHub::accept() after cancelling a prior accept operation.

Full Changelog: v2.2.2...v2.2.3

2.2.2

30 Aug 18:15
v2.2.2
f54bb40
Compare
Choose a tag to compare
  • Fixed potential hang of a ProcessContext created by DefaultContextFactory if output buffers fill by piping STDOUT and STDERR to the same pipes on the parent process. This also provides parity with the default behavior of ThreadContext.

2.2.1

22 May 04:16
v2.2.1
ba11031
Compare
Choose a tag to compare
  • Fixed simultaneous creation of workers in ContextWorkerPool.
  • Fixed the IPC pipe in ProcessContext closing immediately after the process exited which potentially prevented reading the last sent data.