Andrew Johnson
|
6767f5089f
|
threadPool: Replaced errno.h status values with S_pool_* ones
ETIMEDOUT is not provided on MinGW.
|
2014-08-01 17:55:53 -05:00 |
|
Andrew Johnson
|
b3afbea7cf
|
Merged Michael's thread-pool branch.
Made various formatting changes, and fixed one problem in the
test program which failed a test on UP machines.
|
2014-07-29 16:05:24 -05:00 |
|
Michael Davidsaver
|
716f2679a7
|
thread pool: don't use reserved names
Avoid global symbols with leading underscore
|
2014-07-29 12:21:07 -04:00 |
|
Michael Davidsaver
|
b1a8b2f20e
|
thread pool: switch thread counts to unsigned int
size_t is considered overly optimistic
|
2014-07-29 12:18:19 -04:00 |
|
Michael Davidsaver
|
6fee83900e
|
don't include errCommon.h
doesn't exist anymore
|
2014-07-29 12:06:24 -04:00 |
|
Michael Davidsaver
|
95b916ecd4
|
thread pool: mark epicsJobCreate() as safe for job functions
Also, use epicsJobMove() to avoid some redundant code
|
2014-07-25 10:16:20 -04:00 |
|
Michael Davidsaver
|
cbfbce54f9
|
thread pool: epicsThreadPoolWait return ETIMEOUT
|
2014-07-25 09:59:46 -04:00 |
|
Michael Davidsaver
|
b3a1fe9c6b
|
thread pool: fix return of epicsJobUnqueue()
Return 0 on success (was queued, now is not),
1 if not queued initially, and EINVAL
if orphaned.
|
2014-07-24 18:56:27 -04:00 |
|
Michael Davidsaver
|
83dfc7980d
|
thread pool: handle failure to create worker
epicsJobQueue() returns EAGAIN when the first worker
can't be lazily created.
Failure to create workers beyond the first is
silently ignored.
|
2014-07-24 18:50:19 -04:00 |
|
Michael Davidsaver
|
69d1063067
|
thread pool: epicsJobQueue return EPERM
When pool control prevents operation
|
2014-07-24 18:19:33 -04:00 |
|
Michael Davidsaver
|
fc4119094f
|
thread pool: epicsThreadPoolGetShared accepts NULL as defaults
|
2014-07-24 14:44:28 -04:00 |
|
Michael Davidsaver
|
658bd0b570
|
thread pool implementation
|
2014-07-24 14:22:52 -04:00 |
|
Michael Davidsaver
|
a8fd14aae1
|
Thread pool API
|
2014-07-24 14:22:52 -04:00 |
|