summaryrefslogtreecommitdiff
path: root/trace.h
Commit message (Collapse)AuthorAgeFilesLines
* remove redundant counter/lock from hash table1.5.5dormando2018-02-121-2/+2
| | | | | | | | | | | | | | curr_items tracks how many items are linked in the hash table. internally to the hash table, hash_items tracked how many items were in the hash table. on every insert/delete, hash_items had to be locked and checked to see if th table should be expanded. rip that all out, and call a check with the once-per-second clock event to check for hash table expansion. this actually ends up fixing an obscure bug: if you burst a bunch of sets then stop, the hash table won't attempt to expand a second time until the next insert. with this change, every second the hash table has a chance of expanding again.
* Backport binary TOUCH/GAT/GATQ commandsdormando2011-09-271-0/+2
| | | | | Taken from the 1.6 branch, partly written by Trond. I hope the CAS handling is correct.
* Added trace.h to the list of sources to be included in the dist targetTrond Norbye2009-03-021-1/+3
|
* dtrace on macosx does not support -GTrond Norbye2009-01-031-0/+67