summaryrefslogtreecommitdiffstats
path: root/runtime/wtp.h
Commit message (Collapse)AuthorAgeFilesLines
* interim commit: working on failure casesRainer Gerhards2009-05-271-0/+2
| | | | slightly improved situation, would like to save it before carrying on
* free last processed message in all casesRainer Gerhards2009-05-201-4/+4
| | | | | | | | | so far, the last processed message was only freed when the next one was processed. This has been changed now. More precisely, a better algorithm has been selected for the queue worker process, which also involves less overhead than the previous one. The fix for "free last processed message" as then more or less a side-effect (easy to do) of the new algorithm.
* added $MainMsgQueueDequeueBatchSize and $ActionQueueDequeueBatchSize ↵Rainer Gerhards2009-04-231-2/+2
| | | | configuration directives
* first attempt at dequeueing multiple batches inside the queueRainer Gerhards2009-04-221-1/+3
| | | | | | ... but this code has serious problems when terminating the queue, also it is far from being optimal. I will commit a series of patches (hopefully) as I am on the path to the final implementation.
* Merge branch 'dapatch'Rainer Gerhards2009-03-251-0/+1
|\
| * bugfix: potential abort with DA queue after high watermark is reachedRainer Gerhards2009-03-251-0/+1
| | | | | | | | | | | | There exists a race condition that can lead to a segfault. Thanks go to vbernetr, who performed the analysis and provided patch, which I only tweaked a very little bit.
* | added a setting "$OptimizeForUniprocessor"Rainer Gerhards2008-10-221-0/+1
|/ | | | | | ...to enable users to turn off pthread_yield calls which are counter-productive on multiprocessor machines (but have been shown to be useful on uniprocessors)
* moved runtime files into their own directoryRainer Gerhards2008-04-161-0/+119