summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/pthread.cc
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hotmail.com>2002-09-21 01:59:46 +0000
committerRobert Collins <rbtcollins@hotmail.com>2002-09-21 01:59:46 +0000
commit20b94ee904e42c78f54dafa6b7638c2299e07a63 (patch)
tree36f904afbd7c131cf3c339998de264629d6981dc /winsup/cygwin/pthread.cc
parent8b1978c30ca6234e06596ef51fd68d98fcfa6aed (diff)
downloadcygnal-20b94ee904e42c78f54dafa6b7638c2299e07a63.tar.gz
cygnal-20b94ee904e42c78f54dafa6b7638c2299e07a63.tar.bz2
cygnal-20b94ee904e42c78f54dafa6b7638c2299e07a63.zip
2002-09-21 Robert Collins <rbtcollins@hotmail.com>
* thread.cc: Partial refactoring of pthread_key destructor handling. Loosely based on Thomas Pfaff's work. (pthread_key_destructor_list::Insert): Remove. (pthread_key_destructor_list::Pop): Remove. (pthread_key_destructor_list::IterateNull): Call the key's run_destructor method. (pthread_key::pthread_key): Initialize new member. (pthread_key::get): Mark as const for correctness. (pthread_key::run_destructor): Implement. * thread.h (pthread_key::get): Mark as const for correctness. (pthread_key::run_destructor): Declare. (List): New template class that implements a generic list. (pthread_key_destructor_list): Inherit from List, and remove now duplicate functions.
Diffstat (limited to 'winsup/cygwin/pthread.cc')
0 files changed, 0 insertions, 0 deletions