coderstephen
|
ef90b760e4
|
Add some tests for workers
|
2015-08-28 20:55:30 -05:00 |
|
coderstephen
|
95cbd8a365
|
Various improvements for worker pools
|
2015-08-28 20:30:53 -05:00 |
|
coderstephen
|
725d94f379
|
More tests
|
2015-08-28 16:58:15 -05:00 |
|
coderstephen
|
9a4cdf7b40
|
Better running and kill detection
|
2015-08-28 16:18:02 -05:00 |
|
coderstephen
|
9559d32241
|
Fix broken tests & add skips when extension needed
|
2015-08-28 15:09:07 -05:00 |
|
coderstephen
|
12023bd81e
|
Fix garbage and broken tests
|
2015-08-28 14:41:27 -05:00 |
|
coderstephen
|
8abb317507
|
Close channels when finished
|
2015-08-28 13:38:16 -05:00 |
|
coderstephen
|
e80cd2818d
|
Set global pool size directly
|
2015-08-28 12:04:04 -05:00 |
|
coderstephen
|
65f17be82e
|
Call done() after creating coroutine
|
2015-08-28 00:20:32 -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 |
|
coderstephen
|
8326d955c5
|
More README fixes
|
2015-08-27 15:47:29 -05:00 |
|
coderstephen
|
4a029630a0
|
Add checks to fix #3 on thread creation
|
2015-08-27 15:32:57 -05:00 |
|
Aaron Piotrowski
|
c368bd140c
|
Merge branch 'workers'
|
2015-08-27 14:49:59 -05:00 |
|
Aaron Piotrowski
|
7b2334f0d0
|
Fix bug with static closures
|
2015-08-27 14:49:41 -05:00 |
|
Aaron Piotrowski
|
c7dbf7394f
|
Use synchronized() instead of lock()/unlock()
|
2015-08-27 14:34:50 -05:00 |
|
coderstephen
|
9112f671a5
|
Update ChannelTest to match changes in Channel
|
2015-08-27 13:07:56 -05:00 |
|
Aaron Piotrowski
|
3dce08de42
|
Refine Process, context and worker updates
|
2015-08-27 13:06:39 -05:00 |
|
coderstephen
|
97c7af4d66
|
Lock should start out unreleased
|
2015-08-27 12:52:05 -05:00 |
|
coderstephen
|
63909cae7c
|
Add changelog that we'll need later
|
2015-08-27 12:40:35 -05:00 |
|
coderstephen
|
08a2a96175
|
Add helpful defaults for Valgrind
|
2015-08-27 12:33:19 -05:00 |
|
Stephen Coakley
|
df67108522
|
Fix pthreads compiling steps
|
2015-08-27 12:32:12 -05:00 |
|
coderstephen
|
b8c1a54cf5
|
Add note about Vagrant box and compiling pthreads
|
2015-08-27 12:30:28 -05:00 |
|
Aaron Piotrowski
|
0278fe7881
|
Work on workers, tasks, and contexts
|
2015-08-27 09:10:08 -05:00 |
|
coderstephen
|
174ce91ea0
|
Event loop foolery not necessary with pthreads fix
|
2015-08-26 21:57:21 -05:00 |
|
Aaron Piotrowski
|
8ec2e93c56
|
Inherit only ini, functions, and classes
|
2015-08-26 21:34:41 -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 |
|
Aaron Piotrowski
|
afbed54754
|
Use constant for latency timeout
|
2015-08-25 09:39:58 -05:00 |
|
Aaron Piotrowski
|
b1427879d8
|
Pass streams to Channel constructor
|
2015-08-25 09:37:22 -05:00 |
|
coderstephen
|
d727d6a0d4
|
Fix parcel method name errors and tests
|
2015-08-24 23:23:42 -05:00 |
|
Aaron Piotrowski
|
0e9b8cca4a
|
Do not call fclose() in thread; separate read/write streams; addresses #4
|
2015-08-24 19:35:42 -05:00 |
|
coderstephen
|
eaafe93761
|
Update examples in README
|
2015-08-24 13:56:30 -05:00 |
|
coderstephen
|
d90c0aa25b
|
Remove accidental addition
|
2015-08-24 13:46:17 -05:00 |
|
Aaron Piotrowski
|
606471390b
|
Merge pull request #2 from icicleio/no-context-interface
Remove ContextInterface & rename forks and threads
|
2015-08-24 11:38:58 -05:00 |
|
coderstephen
|
72fc493fe9
|
Better name for forked processes
|
2015-08-24 11:21:30 -05:00 |
|
coderstephen
|
ba3ac988b3
|
Merge changes from master
|
2015-08-24 10:47:36 -05:00 |
|
coderstephen
|
669fcb419b
|
Fix ThreadContext::spawn() to handle func args
|
2015-08-24 10:44:46 -05:00 |
|
coderstephen
|
a3a2a142b0
|
Oops, forgot to commit InternalThread and Process
|
2015-08-24 10:40:36 -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 |
|
coderstephen
|
3673798c6d
|
Update Vagrant box to use pthreads latest
|
2015-08-22 01:02:41 -05:00 |
|
coderstephen
|
32dd57976c
|
Proof-of-concept WorkerThread implementation
|
2015-08-21 22:41:38 -05:00 |
|
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 |
|