summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/kernel/parallel.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-09-05Improve logging with multiple threads and processes.jsdelfino1-8/+19
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1165450 13f79535-47bb-0310-9956-ffa450edef68
2011-08-28Implement a portable alternative to __thread and get the HTTP and SQLDB ↵jsdelfino1-0/+137
components and the Auth modules working with the HTTPD multithreaded event MPM. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1162472 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28Port to Mac OS X 10.6.7.jsdelfino1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140690 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14Port to Ubuntu server 10.10 64-bit. C++ code fixes required to compile and ↵jsdelfino1-11/+11
run on 64-bit. Update INSTALL doc and build scripts. Remove a few obsolete scripts. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1034963 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17Working queue and chat components. Added a few useful start/stop scripts. ↵jsdelfino1-23/+65
Fixed lifecycle code to call start/stop/restart functions before APR pools are cleaned up in both parent and child processes. Minor build script improvements. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@910819 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11Improvements to autoconf build to make support for python, web service etc ↵jsdelfino1-2/+2
and relevant test cases optional and generate ac_defines used in ifdefs to check for debug and multithreading. Moved some optional code and test cases around to run them only when the tested features are built. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897791 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02Fixed build error with --enable-threads option.jsdelfino1-0/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895170 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02Performance improvements when running both in multi-threaded and pre-forked ↵jsdelfino1-20/+12
HTTPD. Changed memory management to use Apache APR pools instead of ref counting pointers as it's much faster and easier to integrate with the Python and Ruby interpreters. Changed to use simple pool-based string and stream implementations instead of the STL ones, which cause a lots of mutex locks in a multi-threaded environment. Added build options to compile with threading and profiling. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895165 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26Added missing const qualifiers, macros and util functions to help debugging, ↵jsdelfino1-1/+1
and a simple balanced tree implementation for use in lookup tables. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@893938 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30Added debug macros and cleaned up debug logging. Added locking macros used ↵jsdelfino1-2/+3
when compiling for multithreading. Fixed value conversions to numbers. Fixed compile warnings. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@885348 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16Cleaning up SVN structure, moving sca trunk to sca-cpp/trunk.jsdelfino1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880633 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18Minor code cleanup, refactored list functions and cleaned up function names, ↵jsdelfino1-3/+3
moved support for elements to a new header file. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826543 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11Some code cleanup, removed unused functions, changed == empty-list to isNil ↵jsdelfino1-3/+3
to avoid unnecessary construction of empty lists, replaced some casts by generic declarations. Added simple maybe, failable and state monad classes to help return optional objects or failures and carry state around. Added utility functions to zip and unzip list. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@823981 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03Removed explicit C++ keywords to let the compiler perform the necessary ↵jsdelfino1-2/+2
conversions. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821426 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27Moved some sources up in the directory tree to attempt to simplify the ↵jsdelfino1-0/+0
directory structure a bit, and some minor refactoring. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819394 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26Refactored the value class. Cleaned up usage of namespaces to remove side ↵jsdelfino1-0/+283
effects from includes. Added a few util functions to help work with threads. Added synchronizations to make pointers thread safe. Adjusted store sample to refactoring. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819220 13f79535-47bb-0310-9956-ffa450edef68