diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-11-27 13:09:05 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-11-27 13:09:05 +0300 |
commit | 230a3c86d1f40fba642bd7a68ca88878163bcd5f (patch) | |
tree | 1722057ebf1b6a1bcdfee5c063d0a0de6132f9ab /winsup/cygwin/thread.h | |
parent | 4694cc18c2ad0e96f1d12dfc04a59cfd40a7b318 (diff) |
* mmap.cc: Convert usage of dynamically growing cmalloced arrays to
cmalloced linked lists throughout.
(class mmap_record): Add LIST_ENTRY element.
(mmap_record::match): New method, taking over match algorithm from
list::search_record.
(class mmap_list): Rename from class list. Add LIST_ENTRY. Convert
recs to a LIST_HEAD. Drop nrecs and maxrecs members.
(mmap_list::get_record): Drop entirely.
(mmap_list::free_recs): Drop entirely.
(mmap_list::del_record): Take mmap_record to delete as parameter.
(mmap_list::search_record): Convert to mmap_record::match.
(class mmap_areas): Rename from class map. Convert lists to LIST_HEAD.
(mmap_areas::get_list): Drop entirely.
(mmap_areas::del_list): Take mmap_list to delete as parameter.
(mprotect): Fix indentation.
Diffstat (limited to 'winsup/cygwin/thread.h')
0 files changed, 0 insertions, 0 deletions