Implementation of threadpool with very simple join-at-end
authorErich Keane <erich.keane@intel.com>
Fri, 24 Apr 2015 18:23:21 +0000 (11:23 -0700)
committerErich Keane <erich.keane@intel.com>
Thu, 30 Apr 2015 16:47:49 +0000 (16:47 +0000)
commit51fe042f56a6606705d26447ef21fbf39cf86426
tree6b9fa4f7b75f8cbc42cb9ea727bbe97fd8235881
parentc4aff04746d73335ed473d008625a25f31e6f2fb
Implementation of threadpool with very simple join-at-end

Feedback was received that the 'dumb' threadpool implementation
was not sufficient.  This fix ensures that all threadpool items are
stored and joined at the end.

Change-Id: I47d6af18723c994efd072c08ed6766b07a212db9
Signed-off-by: Erich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/832
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-by: Joseph Morrow <joseph.l.morrow@intel.com>
resource/csdk/connectivity/common/src/cathreadpool_pthreads.c
resource/csdk/connectivity/test/camutex_tests.cpp