]> sourceware.org Git - newlib-cygwin.git/commit
2002-09-21 Robert Collins <rbtcollins@hotmail.com>
authorRobert Collins <rbtcollins@hotmail.com>
Sat, 21 Sep 2002 01:59:46 +0000 (01:59 +0000)
committerRobert Collins <rbtcollins@hotmail.com>
Sat, 21 Sep 2002 01:59:46 +0000 (01:59 +0000)
commit20b94ee904e42c78f54dafa6b7638c2299e07a63
tree36f904afbd7c131cf3c339998de264629d6981dc
parent8b1978c30ca6234e06596ef51fd68d98fcfa6aed
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.
winsup/cygwin/ChangeLog
winsup/cygwin/thread.cc
winsup/cygwin/thread.h
This page took 0.026241 seconds and 5 git commands to generate.