Commit Graph

  • fbc2ed44af refactor jobqueue hijerusalem 2017-06-06 09:51:55 +0000
  • 4cad4cde94 optimize jobqueue_destroy hijerusalem 2017-06-05 09:41:14 +0000
  • 6247fc777a modify comment hijerusalem 2017-06-05 04:02:50 +0000
  • 7643a72f6e edit some comments, tweak sem_init to accept init value greater than 1 hijerusalem 2017-06-05 02:18:45 +0000
  • da1c8fe9ac refactored synchronization to speed up thpool_init and thpool_ destroy hijerusalem 2017-06-04 12:48:56 +0000
  • b9510e92e1 Merge 773c3f6a60 into 430251cb65 #50 Daniel Nunes 2017-06-03 07:17:15 +0000
  • 430251cb65 Make README less melodramatic Manos 2017-04-24 19:27:54 +0100
  • cfe15cf409 Make README less melodramatic Manos 2017-04-24 19:26:50 +0100
  • 2dfd186876 Make README less melodramatic Manos 2017-04-24 19:24:58 +0100
  • 2a0e8b7ebb Update README.md Manos 2017-04-18 16:06:02 +0100
  • 9632ca028a Update README.md Manos 2017-04-18 16:05:34 +0100
  • 773c3f6a60 Added documentation for cmake build. #50 Daniel Nunes 2017-01-30 21:18:07 +0000
  • fca9fe24ee Added cmake support. Daniel Nunes 2017-01-30 20:41:23 +0000
  • 434625283e Added benchmarking tools. #48 Daniel Nunes 2017-01-29 23:11:44 +0000
  • 0f9b66306b Merge pull request #49 from GandaG/gcc-warnings Johan 2017-01-29 18:14:42 +0000
  • 29f1537116 Commented the warning supression in thpool_resume. #49 Daniel Nunes 2017-01-29 18:10:45 +0000
  • a3916021c8 Add POSIX macro to remove any warnings under strict C compilation Pithikos 2017-01-29 09:21:05 +0000
  • e108ee5ab6 Small refactoring without affecting functionality Pithikos 2017-01-29 09:19:16 +0000
  • 3ac7d25722 Fix unused arg gcc warnings. Daniel Nunes 2017-01-29 02:16:33 +0000
  • 39e355ae12 Merge 09a318e7ad into 779938e54d #48 Daniel Nunes 2017-01-29 01:53:00 +0000
  • 09a318e7ad Updated to int to size_t to prevent gcc warnings. Daniel Nunes 2017-01-29 01:52:12 +0000
  • 779938e54d Small fix to contribution section Johan 2017-01-28 10:17:12 +0000
  • 265f96309b Add contribution guidelines Johan 2017-01-28 10:16:01 +0000
  • 907d1fff63 Fixed last function's return value. Daniel Nunes 2017-01-28 01:12:16 +0000
  • 38585b4eff Added thpool_num_jobs_pooled() function to header. Daniel Nunes 2017-01-25 14:07:54 +0000
  • 2a86063ebd Added function to get job number in pool. Daniel Nunes 2017-01-24 23:13:59 +0000
  • 35f9cb78a2 Updated documentation. Daniel Nunes 2017-01-23 21:55:10 +0000
  • 4e287beb31 Updated tests to include API changes. Fixed tests not being able to be launched from other folders. Improved test performance. Daniel Nunes 2017-01-23 03:31:40 +0000
  • ee20219d56 Integrated job pool into thread pool. Changed arg type from int to unsigned. Daniel Nunes 2017-01-22 19:42:07 +0000
  • ca997ccc2a Added job pool prototypes and functions. Daniel Nunes 2017-01-22 19:26:22 +0000
  • 35f7486784 Merge pull request #47 from GandaG/master Johan 2017-01-24 16:49:09 +0000
  • 251b1125c6 Moved all error msgs to a central macro. #47 Daniel Nunes 2017-01-24 15:09:45 +0000
  • 8aa0c1c1a5 Added macro to disable print statements. Daniel Nunes 2017-01-22 15:10:45 +0000
  • b2d82ecec3 Merge pull request #46 from GandaG/master Johan 2017-01-22 09:42:02 +0000
  • 7a2f4e76c7 Thread name warning should only appear under debug. #46 Daniel Nunes 2017-01-22 03:39:15 +0000
  • 34351715e0 Merge branch 'dweymouth-master' Pithikos 2017-01-18 10:39:06 +0000
  • 0b249383d7 Fix whitespace Pithikos 2017-01-18 10:38:05 +0000
  • e906f2fa28 Solve warning about incompatible types Pithikos 2017-01-18 10:37:04 +0000
  • 154e5832d9 Resolve conflicts Pithikos 2017-01-18 10:07:23 +0000
  • 2ba0bd59fa Fix whitespace Pithikos 2017-01-17 19:59:29 +0000
  • 48ae25d35a Add API function to get number of working threads Pithikos 2017-01-17 19:58:44 +0000
  • bc95c0ed47 Small stilistic changes Pithikos 2017-01-17 19:17:59 +0000
  • 5998e7e002 Merge d8287ed4dd into ea938fcc9e #43 Marwan Kallal 2016-10-09 16:26:09 +0000
  • d8287ed4dd synchronization functions are now thread pool specific #43 Marwan Kallal 2016-10-09 12:23:15 -0400
  • ea938fcc9e Merge pull request #41 from bowfin/return-void-extern-C Johan 2016-09-04 08:05:18 +0100
  • 52552779cc Change worker return type to void; add extern C #41 bowfin 2016-09-04 00:17:18 -0400
  • dacf776a00 Merge pull request #40 from lyingbug/master Johan 2016-07-29 11:38:52 +0100
  • 23275063a4 fix one error msg #40 xiayula 2016-07-29 15:36:18 +0800
  • ef942e09e4 Merge 617ef81732 into 5d2276386f #35 cyisfor 2016-03-23 05:22:49 +0000
  • 617ef81732 whoops, forgot this #35 user 2016-03-23 05:19:31 +0000
  • af957f99f6 workers that can initialize and cleanup user 2016-03-23 05:16:48 +0000
  • a4511bbd27 auto (/home/creation/stories/code/generate.d/htmlish/C-Thread-Pool/thpool.h) 53 1314 user 2016-03-23 05:00:37 +0000
  • 72067a3370 auto (/home/creation/stories/code/generate.d/htmlish/C-Thread-Pool/thpool.c) 109 3097 user 2016-03-23 04:49:15 +0000
  • 166aa1c238 working user 2016-03-23 04:20:37 +0000
  • 584458afac working... sort of user 2016-03-23 04:15:08 +0000
  • 1b39c4a294 fix comments user 2016-03-23 04:10:30 +0000
  • e327ff52cf worker function specified at init user 2016-03-23 04:06:54 +0000
  • 5d2276386f Merge pull request #34 from 719Ben/master Johan 2016-03-15 08:01:12 +0000
  • ac10c515da Fixed owner #34 Ben Williams 2016-03-14 23:56:23 -0600
  • 36c4b3f12e Create LICENSE Ben Williams 2016-03-14 17:19:11 -0600
  • 48766ded60 Update README.md Johan 2016-02-16 14:51:51 +0000
  • caac205e57 Merge pull request #32 from MedicineYeh/master Johan 2016-02-03 11:29:56 +0000
  • 49e5cbe5af Use prctl on Linux to follow standard GNU/Linux functions #32 Medicine Yeh 2016-02-03 18:42:20 +0800
  • ff84a85f43 forgot OS dependent macro Medicine Yeh 2016-02-03 18:29:14 +0800
  • a721288235 add _GNU_SOURCE for pthread_setname_np, add NULL check for destroy _GNU_SOURCE: http://man7.org/linux/man-pages/man3/pthread_setname_np.3.html NULL check: Some programs might get errors while initialization and thus fall to destroy process. This could prevent errors in this situations. Also this check could prevent some rare situations where thpool is free twice. Medicine Yeh 2016-02-03 18:18:20 +0800
  • fbbba9c33f Merge pull request #31 from xiaokai-wang/master Johan 2016-01-27 08:04:45 +0000
  • e5e9aeee0c code style: remove space #31 xiaokai1 2016-01-27 14:31:10 +0800
  • a56bffe8b7 Merge pull request #28 from marwankallal/return Johan 2016-01-22 10:38:40 +0000
  • 8d24894309 Merge pull request #25 from bpetri/master Johan 2016-01-21 15:18:21 +0000
  • 18310ad653 Merge pull request #26 from marwankallal/malloc-fix Johan 2016-01-21 09:36:31 +0000
  • a0c777488d replaced exit with return #28 Marwan Kallal 2015-12-22 20:46:30 -0500
  • da2c0fe45e move locking inside jobqueue_push and pull #27 Drew Weymouth 2015-12-21 19:45:06 -0800
  • 04cf949f9f refactoring jobqueue interface, jobqueue embedded in thpool struct Drew Weymouth 2015-12-21 19:36:36 -0800
  • 5e5b177361 fixed #21 #26 Marwan Kallal 2015-12-18 13:17:32 -0500
  • 9f4ac0616b Replace prctl w/ pthread_setname_np. Use predefined macros to differ btwn linux and os x. #25 Bjoern Petri 2015-12-14 13:43:17 +0100
  • d6a9c83c3a Merge branch 'everclear-everclear-valgrind' Pithikos 2015-12-12 11:13:24 +0000
  • 594f1eee02 Error checking for valgrind is redundant since overlapping with other tests Pithikos 2015-12-12 11:11:32 +0000
  • a4a0f3b725 Assure valgrind is installed before running tests Pithikos 2015-12-11 15:24:24 +0000
  • 55fb89164c Remove obsolete documentation after commit @860303e Pithikos 2015-12-11 14:55:01 +0000
  • 860303ef5b Merge pull request #24 from dweymouth/master Johan 2015-12-11 11:30:37 +0000
  • 71adb90e04 Forgot cond_init #24 Drew Weymouth 2015-12-02 07:22:51 -0800
  • 49f19b46f2 use signaling instead of polling in thpool_wait Drew Weymouth 2015-12-01 19:31:25 -0800
  • c606e5ad4a Merge pull request #22 from MedicineYeh/master Johan 2015-11-24 21:43:25 +0000
  • 90c4561942 add thread name, fix warning in the example #22 MedicineYeh 2015-11-24 12:47:50 +0800
  • ab2c0bb8ad Merge pull request #19 from marioli/master Johan 2015-06-28 19:05:47 +0100
  • b58a5431d3 added some (unlikely required) free()s #19 Mario Lombardo 2015-06-26 17:00:45 +0200
  • e472a4bf75 Fixes for jobqqeue_init and removed exit() Mario Lombardo 2015-06-26 15:37:57 +0200
  • 895d08c89c Added checking of Valgrind output for errors #16 everclear 2015-06-04 18:37:08 +0100
  • c1b7898782 Fixes valgrind errors everclear 2015-06-04 18:33:50 +0100
  • 9151cd1b7d Merge pull request #15 from zweng/master Johan 2015-05-11 13:02:44 +0100
  • 18142eee71 initilise jobqueue_p->len to 0 #15 zweng 2015-05-10 13:47:57 -0400
  • 826fb19d5b Merge 1ead4c3e15 into 5aee2f2574 #14 Alex Kir 2015-04-24 03:49:59 +0000
  • 1ead4c3e15 fixed identation by spaces from previous commit #14 Alex Kir 2015-04-24 11:49:45 +0800
  • 1c67bfc45a Fixed annoying valgrind false positive * Initialized act.sa_flags to 0 * Initialized act.sa_mask to empty set Alex Kir 2015-04-24 11:39:21 +0800
  • 5c3496ae54 Merge b5e4fe62ee into 5aee2f2574 #11 nil0x42 2015-04-10 22:59:29 +0000
  • b5e4fe62ee Fix gcc warning: unused parameter 'thpool_p' #11 nil0x42 2015-04-11 00:56:52 +0200
  • 29c8e4e401 Remove trailing spaces in code nil0x42 2015-04-11 00:51:59 +0200
  • 77c0411f9b correct the indent #10 晓帆张 2015-04-08 19:17:21 +0200
  • 8906c83d98 add mutex init for jobqueue, mutex malfunction(tested on OS X) 晓帆张 2015-04-08 19:08:35 +0200
  • 5aee2f2574 THPOOL_DEBUG moved on top pithikos 2015-03-31 16:02:21 +0100