Commit Graph

204 Commits

Author SHA1 Message Date
Pithikos
55fb89164c Remove obsolete documentation after commit @860303e 2015-12-11 14:55:01 +00:00
Johan
860303ef5b Merge pull request #24 from dweymouth/master
Using signaling instead of polling in thpool_wait() from now on
2015-12-11 11:30:37 +00:00
Drew Weymouth
71adb90e04 Forgot cond_init 2015-12-02 07:22:51 -08:00
Drew Weymouth
49f19b46f2 use signaling instead of polling in thpool_wait 2015-12-01 19:31:25 -08:00
Johan
c606e5ad4a Merge pull request #22 from MedicineYeh/master
Add thread name + include pthread in example.c
2015-11-24 21:43:25 +00:00
MedicineYeh
90c4561942 add thread name, fix warning in the example
thread name is good for both profiling and debuging
also htop can turn on the option 'Show custom thread names' in 'Display
options'
the warning in example is ‘pthread_self’ [-Wimplicit-function-declaration]
2015-11-24 12:47:50 +08:00
Johan
ab2c0bb8ad Merge pull request #19 from marioli/master
Fixes for jobqqeue_init and removed exit()
2015-06-28 19:05:47 +01:00
Mario Lombardo
b58a5431d3 added some (unlikely required) free()s 2015-06-26 17:00:45 +02:00
Mario Lombardo
e472a4bf75 Fixes for jobqqeue_init and removed exit() 2015-06-26 15:37:57 +02:00
everclear
895d08c89c Added checking of Valgrind output for errors 2015-06-04 18:37:08 +01:00
everclear
c1b7898782 Fixes valgrind errors
Syscall param rt_sigaction(act->sa_handler) points to uninitialised byte(s)
Syscall param rt_sigaction(act->sa_flags) points to uninitialised byte(s)
2015-06-04 18:33:50 +01:00
Johan
9151cd1b7d Merge pull request #15 from zweng/master
initilise jobqueue_p->len to 0
2015-05-11 13:02:44 +01:00
zweng
18142eee71 initilise jobqueue_p->len to 0 2015-05-10 13:47:57 -04:00
pithikos
5aee2f2574 THPOOL_DEBUG moved on top 2015-03-31 16:02:21 +01:00
Johan
01db92818c Merge pull request #8 from nil0x42/master
Add THPOOL_DEBUG define (mandatory for debug msgs)
2015-03-31 15:53:10 +01:00
nil0x42
470dcc7521 Add THPOOL_DEBUG define (mandatory for debug msgs)
Added this because some messages are ont designed to be printed
while integrating thpool in an existing project.
2015-03-31 12:53:50 +02:00
Johan
878532fd99 Update README.md 2015-03-13 13:42:30 +00:00
Johan
74bf1e7f34 Badge added 2015-03-13 13:42:18 +00:00
Johan
66f4207e41 Badge added 2015-03-13 13:39:51 +00:00
pithikos
56dc2882d7 Tests for non-zero heap/stack bug 2015-03-12 19:16:27 +00:00
pithikos
1485e59e63 Edit of bug solution 2015-03-12 19:00:03 +00:00
Johan
c9398d6644 Merge pull request #7 from nil0x42/master
Fix bug when running thpool with nonzero heap allocations.
2015-03-12 18:40:26 +00:00
nil0x42
d9bb612759 Fix nonempty heap/stack bug (unit test now passes) 2015-03-08 12:57:04 +01:00
nil0x42
5a4a92f2b3 Add unit test: run in nonzero heap/stack env. 2015-03-08 12:48:09 +01:00
pithikos
984f6f9408 Small fixes 2015-03-06 16:26:05 +00:00
pithikos
04c37b8bf8 Tests are clean BASH scripts now 2015-03-06 16:18:15 +00:00
pithikos
33e15ec369 Merge branch 'master' of https://github.com/Pithikos/C-Thread-Pool 2015-03-06 16:13:01 +00:00
pithikos
6f9eb31a87 bash -> sh 2015-03-06 16:12:28 +00:00
pithikos
746cf897c3 Works now even when compiled with optimization flags 2015-03-06 16:11:07 +00:00
Johan
8b82eec2a3 Merge pull request #4 from chuangxie/compile-warning-uninitialized-var
fix compile warning
2015-02-12 23:30:44 +00:00
Chuang Xie
8fcdacbbb7 fix compile warning 2015-02-12 17:28:46 -05:00
Johan
a77e0b2b3e Exponential polling explained 2015-02-06 17:31:20 +00:00
pithikos
90174270f6 Concise error messages 2015-02-06 11:00:00 +00:00
pithikos
8098f92c8c Specifying t secs to wait added 2015-02-06 10:54:22 +00:00
Johan
c03e2ee059 Update README.md 2015-01-25 10:35:38 +00:00
Johan
c2453a71d9 Update thpool.h 2015-01-18 14:09:09 +00:00
Johan
2325848d77 Update README.md 2015-01-18 14:07:29 +00:00
Johan
1f103375c3 Update README.md 2015-01-18 14:06:42 +00:00
Johan
97e9adc236 Merge pull request #3 from Pithikos/feature
Version 2
2015-01-18 13:51:17 +00:00
Johan
67f0c089e4 Update README.md 2015-01-18 13:44:03 +00:00
Johan
a7e9dd3a68 Update README.md 2015-01-18 13:43:07 +00:00
Johan
c685f53596 Update README.md 2015-01-18 13:41:27 +00:00
Johan
203b44a086 Update README.md 2015-01-18 13:40:18 +00:00
Johan
f2acdd4d21 Update README.md 2015-01-18 13:38:33 +00:00
Johan
ec50e19e6d Update FAQ.md 2015-01-18 13:36:47 +00:00
Pithikos
d59c22657c Updates 2015-01-18 12:44:38 +00:00
Pithikos
e68223a4c5 Smart polling implemented 2015-01-18 12:42:37 +00:00
Pithikos
2eed00fceb Test updates 2015-01-18 10:41:59 +00:00
Pithikos
b38f0f35c4 Tests for wait() 2015-01-18 00:26:04 +00:00
Johan
bd4991e11b Update FAQ.md 2015-01-17 23:19:24 +00:00