coderstephen
|
163ffb4f54
|
Add spawn shortcut for threads
|
2015-08-21 22:39:56 -05:00 |
|
coderstephen
|
d94f9441ba
|
Increase README accuracy and hype value
|
2015-08-21 00:10:34 -05:00 |
|
Stephen Coakley
|
30882e456b
|
Merge pull request #1 from icicleio/thread-inherit-all
Inherit the environment when spawning a new thread
|
2015-08-20 21:26:49 -05:00 |
|
coderstephen
|
fed8de64aa
|
Passing autoloader to child no longer necessary
|
2015-08-20 16:21:09 -05:00 |
|
coderstephen
|
dd38cd1142
|
Autoload behaves consistently with pthreads 2.0.11
|
2015-08-20 14:40:44 -05:00 |
|
coderstephen
|
33ce561135
|
New Parcel interface for shared objects
|
2015-08-20 14:13:01 -05:00 |
|
coderstephen
|
55c9479799
|
A simple container for thread sharing
Uses a ThreadedMutex to provide synchronization methods on the container.
|
2015-08-19 15:56:00 -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
|
094e651f86
|
Update dependencies
|
2015-08-18 19:04:12 -05:00 |
|
Aaron Piotrowski
|
36725728aa
|
Add locks to thread context
|
2015-08-18 10:12:06 -05:00 |
|
coderstephen
|
b60f47424a
|
Bring in sample worker API from old branch
|
2015-08-14 12:25:07 -05:00 |
|
coderstephen
|
bab3c30763
|
Add cleanup to tests
|
2015-08-10 22:35:59 -05:00 |
|
coderstephen
|
d2ab1cd0a1
|
First working async POSIX semaphore using shared objects
|
2015-08-10 22:27:10 -05:00 |
|
Aaron Piotrowski
|
feb620fdea
|
Refactor threading / simplify contexts
|
2015-08-10 17:38:58 -05:00 |
|
coderstephen
|
6c8898b416
|
Some cleanup, with persistent permissions and better resize handling
|
2015-08-10 16:36:01 -05:00 |
|
coderstephen
|
1a8f7c1e33
|
Add tests over multiple processes
|
2015-08-10 14:28:47 -05:00 |
|
coderstephen
|
d8edf495ec
|
Merge branch 'master' of github.com:icicleio/concurrent
|
2015-08-10 13:21:32 -05:00 |
|
coderstephen
|
4de9909c00
|
Fix bugs with deref() and use set() instead of update()
|
2015-08-10 13:21:22 -05:00 |
|
Aaron Piotrowski
|
6f657e889e
|
Refactor ThreadedSemaphore and ThreadedMutex
|
2015-08-09 22:30:11 -05:00 |
|
coderstephen
|
b0ebadedf6
|
New shared memory object that stores a single value
|
2015-08-09 22:16:34 -05:00 |
|
coderstephen
|
df5db8ac4e
|
Make destroying ThreadedMutex explicit
|
2015-08-07 23:30:48 -05:00 |
|
coderstephen
|
ed34e1e5d9
|
Remove unneeded mutex and semaphore implementations
|
2015-08-07 23:13:33 -05:00 |
|
coderstephen
|
f109bd926f
|
Update FileMutex to be async
|
2015-08-07 23:12:21 -05:00 |
|
coderstephen
|
71f25e9def
|
Add tiny unit test for ThreadedMutex
|
2015-08-07 22:50:20 -05:00 |
|
coderstephen
|
35bdedf390
|
Add a thread-safe mutex and update MutexInterface to be non-blocking
|
2015-08-07 22:45:41 -05:00 |
|
Aaron Piotrowski
|
ed08c738d5
|
Use array instead of SplQueue
|
2015-08-07 20:19:34 -05:00 |
|
coderstephen
|
eb91972489
|
Merge branch 'master' of github.com:icicleio/concurrent
|
2015-08-07 15:32:39 -05:00 |
|
coderstephen
|
000de5ba12
|
New threaded async semaphore, with a better semaphore API
|
2015-08-07 15:32:18 -05:00 |
|
Aaron Piotrowski
|
1b77f37693
|
Add executor contexts, bind to executors instead of channel
|
2015-08-07 15:30:14 -05:00 |
|
coderstephen
|
50444e41e3
|
Move all semaphores to Sync namespace
|
2015-08-07 13:23:33 -05:00 |
|
coderstephen
|
18c23ef88d
|
Update channel test to use createSocketPair
|
2015-08-07 01:38:53 -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 |
|
coderstephen
|
4d90dc5ca7
|
Merge channel changes
|
2015-08-06 22:24:45 -05:00 |
|
Aaron Piotrowski
|
399764f7b9
|
Remove file_exists() check
|
2015-08-06 21:51:45 -05:00 |
|
Aaron Piotrowski
|
c34d1331af
|
Fix exit error messages
|
2015-08-06 20:56:30 -05:00 |
|
Aaron Piotrowski
|
4ca84144b0
|
Update and fix forking code
|
2015-08-06 20:54:57 -05:00 |
|
Aaron Piotrowski
|
c52ec19a38
|
Refactor contexts and exiting
|
2015-08-06 18:59:25 -05:00 |
|
Aaron Piotrowski
|
d0ec5d677e
|
Updated dependencies
|
2015-08-06 18:17:32 -05:00 |
|
Aaron Piotrowski
|
b5d97eb9d5
|
Fix reading from channel
|
2015-08-05 21:13:29 -05:00 |
|
Aaron Piotrowski
|
43d4b53ac2
|
Fix reading from channel
|
2015-08-05 18:48:20 -05:00 |
|
coderstephen
|
09edc25348
|
Add more to docs
|
2015-08-05 16:00:29 -05:00 |
|
coderstephen
|
d95ee80cb8
|
Faster object ID selection
|
2015-08-05 15:44:53 -05:00 |
|
coderstephen
|
1ece940057
|
Fix channel coroutines to yield correct values
|
2015-08-05 13:30:05 -05:00 |
|
coderstephen
|
641946e3a8
|
Update context interface with create method and clean up ThreadContext
|
2015-08-05 13:29:11 -05:00 |
|
coderstephen
|
865979188c
|
Copy global parameters and environment values to threads
|
2015-08-05 12:41:37 -05:00 |
|
coderstephen
|
63ad35cec1
|
Remove unused exception type
|
2015-08-05 11:36:37 -05:00 |
|
coderstephen
|
ab32b4b88e
|
More docs
|
2015-08-05 11:35:42 -05:00 |
|
coderstephen
|
bc5501a39e
|
Merge back into one test suite
|
2015-08-05 11:29:22 -05:00 |
|