[thread.threads] Add lock tags to index of library names.

Reported by Geoffrey Romer.

Fixes #76
Merge pull request #88 from jwakely/issue76

[thread.threads] Add lock tags to index of library names.