-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCHANGELOG
More file actions
20 lines (18 loc) · 885 Bytes
/
CHANGELOG
File metadata and controls
20 lines (18 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Latest [DB]
- ThreadPool and SyncQueue are objects inside of ThreadPooling module.
- Fixed thread-unsafe operations in ThreadPool#increment and #decrement.
- ThreadPool#dispatch can take additional argument to a lambda; this
argument should be an array representing arguments to be given to
the lambda.
Why bother? I'm interested in being able to reuse the same lambda
with different arguments. That is, we have a pool of lambda's that
we reuse. Or maybe one with parts that are synchronized.
Version 0.3 [DB]
- First commit to git and github.
- We have
- a ThreadPool class which has a single queue and a store
of threads that contend for jobs stored on the queue.
- SyncQueue class which represents a single thread
and single queue where the jobs are executed synchronously.
- we can decrement or increment the threads on an instance
of ThreadPool.