1
0
mirror of https://github.com/danog/parallel.git synced 2025-01-06 04:38:21 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
coderstephen
dd38cd1142 Autoload behaves consistently with pthreads 2.0.11 2015-08-20 14:40:44 -05:00
coderstephen
d90ae70c22 Inherit all from parent and handle loader in child 2015-08-19 10:59:55 -05:00
Aaron Piotrowski
8c09c16204 Refine channel implementation 2015-08-18 19:12:58 -05:00
Aaron Piotrowski
36725728aa Add locks to thread context 2015-08-18 10:12:06 -05:00
Aaron Piotrowski
feb620fdea Refactor threading / simplify contexts 2015-08-10 17:38:58 -05:00
Aaron Piotrowski
1b77f37693 Add executor contexts, bind to executors instead of channel 2015-08-07 15:30:14 -05:00
Aaron Piotrowski
078f915081 Rebind $this to channel 2015-08-07 00:07:53 -05:00
Aaron Piotrowski
dc3cd5155e Add ability to pass arguments to context function 2015-08-06 23:25:04 -05:00
Aaron Piotrowski
399764f7b9 Remove file_exists() check 2015-08-06 21:51:45 -05:00
Aaron Piotrowski
c52ec19a38 Refactor contexts and exiting 2015-08-06 18:59:25 -05:00
coderstephen
1ece940057 Fix channel coroutines to yield correct values 2015-08-05 13:30:05 -05:00
coderstephen
ff413c904c First working, async threads using channels for messages
Channel was changed to return resources on creation.

Also, much better setting up synchronization at the beginning of a new
thread.
2015-08-05 02:48:43 -05:00
coderstephen
92432ff58b Experimental closure-based contexts 2015-07-26 17:53:00 -05:00
coderstephen
6442bb9191 Don't recursively create thread instances 2015-07-15 12:36:32 -05:00
coderstephen
3c4448866f Run given ThreadContext::run() inside thread 2015-07-14 17:15:10 -05:00
coderstephen
18b7c68f65 Experimental pthread context 2015-07-13 17:30:59 -05:00