commit | 604ec3cea5613730c1ad3de5f26b277b7ec16552 | [log] [tgz] |
---|---|---|
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Apr 18 22:38:41 2002 +0000 |
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Apr 18 22:38:41 2002 +0000 |
tree | c0764b7bd7e499d259ab4d7a1f13f06025f57965 | |
parent | 1e8cdc9897ca5963457784cdaea9368592e3fdd0 [diff] |
Simply and rationalise pthread_mutex implementation, in preparation for implementation of condition variables. * Use the native pthread_mutex_t directly; we no longer have our own VgMutex type nor a fixed array of them. * Give ThreadState a new field q_next :: ThreadId, used to make a linked list of threads waiting on a mutex, or condition variable. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@99 a5019735-40e9-0310-863c-91ae7b9d1cf9