4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 04:19:21 +08:00
Robert Collins af428c1ef4 2002-09-21 Robert Collins <rbtcollins@hotmail.com>
* thread.cc: Finish the removal of the separate pthread_key
        destructor list.
        Remove all pthread_key_destructor and pthread_key_destructor_list
        references throughout.
        (pthread::exit): Call the new pthread_key interface to activate
        destructors.
        (pthread_key::keys): Change into a list.
        (pthread_key::saveAKey): New method, used via forEach.
        (pthread_key::restoreAKey): Ditto.
        (pthread_key::destroyAKey): Ditto.
        (pthread_key::fixup_before_fork): Use the List::forEach functionality.
        (pthread_key::fixup_after_fork): Ditto.
        (pthread_key::runAllDestructors): New method implementation.
        (pthread_key::pthread_key): Use List::Insert rather than custom list
        code.
        (pthread_key::~pthread_key): Use List::Remove for the same reason.
        * thread.h: Remove all pthread_key_destructor and
        pthread_key_destructor_list references throughout.
        (List): Move the interface above pthread_key in the header.
        Use atomic operations during insert and delete.
        (List::forEach): A generic interface for doing something on each node.
        (pthread_key::runAllDestructors): New method, run all destructors.
        (pthread_key::fork_buf): Make private.
        (pthread_key::run_destructor): Ditto.
        (pthread_key::saveAKey): New method for clearer source.
        (pthread_key::restoreAKey): Ditto.
        (pthread_key::destroyAKey): Ditto.
        (MTinterface::destructors): Remove.
2002-09-21 03:20:27 +00:00
..
2001-09-11 20:01:02 +00:00
2001-12-20 03:03:59 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2002-01-01 16:49:52 +00:00
2001-10-12 01:51:21 +00:00
2001-09-11 20:01:02 +00:00
2001-09-12 17:46:37 +00:00
2002-04-19 14:42:20 +00:00
2002-08-18 04:13:57 +00:00
2000-11-19 04:58:18 +00:00
2001-09-11 20:01:02 +00:00
2001-10-05 04:36:14 +00:00
2002-09-04 15:17:24 +00:00
2001-10-28 23:05:49 +00:00
.
2002-05-04 04:30:57 +00:00
2002-08-03 23:34:01 +00:00
2002-02-11 02:25:42 +00:00
2002-01-13 20:03:03 +00:00
2002-09-06 04:39:49 +00:00
2001-06-01 01:45:53 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2002-08-31 03:35:50 +00:00
2001-09-11 20:01:02 +00:00
2002-08-18 04:13:57 +00:00
2002-04-04 05:28:49 +00:00
2002-03-05 18:03:32 +00:00
2002-09-06 04:30:46 +00:00