Aaron Piotrowski
|
312aecf1ff
|
Remove Worker::start()
The context can automatically be started when a job is enqueued.
|
2017-12-13 14:14:31 -06:00 |
|
Aaron Piotrowski
|
ff35e2fd8d
|
Add SharedMemoryParcel example
|
2017-12-12 23:38:23 -06:00 |
|
Aaron Piotrowski
|
4d99a9d968
|
spawn → run
|
2017-12-10 17:01:10 -06:00 |
|
Aaron Piotrowski
|
852f580915
|
Remove $this magic from Thread callback
Channel is now passed as the first argument.
|
2017-12-10 16:53:51 -06:00 |
|
Aaron Piotrowski
|
4d4841f449
|
Refactor Process to make writing child processes simple
|
2017-12-10 16:39:49 -06:00 |
|
Aaron Piotrowski
|
130732d4b5
|
Update examples
|
2017-11-29 20:17:49 -06:00 |
|
Cyril Panshine
|
bcfb30fa35
|
Improve worker-pool example (#30)
|
2017-11-20 19:21:53 +01:00 |
|
Aaron Piotrowski
|
dbd3403087
|
Quiet style fixer
|
2017-11-10 11:35:47 -06:00 |
|
Aaron Piotrowski
|
aaee76e3da
|
Rename Threading namespace to Thread
|
2017-11-10 10:00:04 -06:00 |
|
Niklas Keller
|
a6bca0f085
|
Fix code style
|
2017-06-17 18:31:35 +02:00 |
|
Aaron Piotrowski
|
be0d786e14
|
example → examples
|
2017-06-16 00:04:10 -05:00 |
|
Aaron Piotrowski
|
c38b921029
|
examples -> example
|
2016-08-26 09:53:18 -05:00 |
|
Aaron Piotrowski
|
ce25a0179d
|
Rename to Parallel
|
2016-08-23 16:47:40 -05:00 |
|
Aaron Piotrowski
|
70097cb225
|
Update tests; code cleanup
|
2016-08-18 17:36:58 -05:00 |
|
Aaron Piotrowski
|
da84a772cf
|
Port to Amp
|
2016-08-18 11:04:48 -05:00 |
|
Aaron Piotrowski
|
464a5ef87e
|
Allow run() to return anything
|
2016-01-24 23:04:29 -06:00 |
|
Aaron Piotrowski
|
14f2d6d707
|
Update with PHP 7 features
|
2016-01-23 00:00:56 -06:00 |
|
Aaron Piotrowski
|
59907f7884
|
Update example
|
2016-01-14 18:16:07 -06:00 |
|
Stephen Coakley
|
c6d350d802
|
Update example to demonstrate concurrency
|
2015-12-11 22:44:51 -06:00 |
|
Aaron Piotrowski
|
b994cab086
|
Minor updates and tweaks
|
2015-12-05 01:09:42 -06:00 |
|
Aaron Piotrowski
|
5bca326354
|
Remove Interface suffixes
|
2015-12-04 23:50:32 -06:00 |
|
Aaron Piotrowski
|
8695d600fc
|
Update examples with BlockingTask
|
2015-09-27 22:46:57 -05:00 |
|
Aaron Piotrowski
|
94a80dc530
|
Remove synchronized() from threads
|
2015-09-02 17:23:22 -05:00 |
|
Aaron Piotrowski
|
7a60d74937
|
Tweak worker pool; reject pending tasks on shutdown
|
2015-09-02 08:51:59 -05:00 |
|
coderstephen
|
95cbd8a365
|
Various improvements for worker pools
|
2015-08-28 20:30:53 -05:00 |
|
coderstephen
|
56b9360e0d
|
Add some simple functions for global worker pool
|
2015-08-28 00:18:50 -05:00 |
|
coderstephen
|
6e317abe1b
|
Add working worker pool with busy queue
|
2015-08-27 22:51:50 -05:00 |
|
Aaron Piotrowski
|
0278fe7881
|
Work on workers, tasks, and contexts
|
2015-08-27 09:10:08 -05:00 |
|
Aaron Piotrowski
|
57d31d6b80
|
Create stream instances in process
|
2015-08-26 21:20:06 -05:00 |
|
Aaron Piotrowski
|
3c48042c30
|
Add Process
|
2015-08-26 21:19:57 -05:00 |
|
Aaron Piotrowski
|
8ecfe3df45
|
Replace acquire() method with synchronized() method
|
2015-08-25 09:53:17 -05:00 |
|
coderstephen
|
d90c0aa25b
|
Remove accidental addition
|
2015-08-24 13:46:17 -05:00 |
|
coderstephen
|
72fc493fe9
|
Better name for forked processes
|
2015-08-24 11:21:30 -05:00 |
|
coderstephen
|
ad52ac9cf2
|
Remove ContextInterface & rename forks and threads
|
2015-08-22 16:27:44 -05:00 |
|
coderstephen
|
bc608e5147
|
Add example for worker thread
|
2015-08-22 16:13:52 -05:00 |
|
Aaron Piotrowski
|
36725728aa
|
Add locks to thread context
|
2015-08-18 10:12:06 -05:00 |
|
Aaron Piotrowski
|
1b77f37693
|
Add executor contexts, bind to executors instead of channel
|
2015-08-07 15:30:14 -05:00 |
|
Aaron Piotrowski
|
c52ec19a38
|
Refactor contexts and exiting
|
2015-08-06 18:59:25 -05:00 |
|
coderstephen
|
641946e3a8
|
Update context interface with create method and clean up ThreadContext
|
2015-08-05 13:29:11 -05:00 |
|
coderstephen
|
8ac9301105
|
Update fork example
|
2015-08-03 15:10:20 -05:00 |
|
coderstephen
|
e388e08f4f
|
Update thread example to use coroutines
|
2015-08-03 15:09:26 -05:00 |
|
coderstephen
|
92432ff58b
|
Experimental closure-based contexts
|
2015-07-26 17:53:00 -05:00 |
|
coderstephen
|
698fb58058
|
Fix missing synchronized read access
|
2015-07-15 18:10:27 -05:00 |
|
coderstephen
|
18b7c68f65
|
Experimental pthread context
|
2015-07-13 17:30:59 -05:00 |
|
coderstephen
|
f3a6f03d4c
|
Update example to use async locking
|
2015-07-13 12:30:00 -05:00 |
|
coderstephen
|
6f185ad17d
|
Handle signals inside AsyncSemaphore
|
2015-07-12 15:57:04 -05:00 |
|
coderstephen
|
a4bb4b601b
|
Update test example
|
2015-07-10 16:17:43 -05:00 |
|
coderstephen
|
27549c5c9c
|
Update fork context to support synchronization and asynchronous join
|
2015-07-10 02:23:08 -05:00 |
|
coderstephen
|
64b429ce25
|
Another working setup using local UNIX socket pairs for speed
|
2015-07-09 13:13:20 -05:00 |
|
coderstephen
|
6cf368d3dd
|
Add some really simple working code using forks and sockets
|
2015-07-09 01:35:34 -05:00 |
|