From: Michael Johnson <mjohnson@desknetinc.com>
To: pthreads-win32 discussion list <pthreads-win32@sources.redhat.com>
Subject: Re: Deadlock interaction between pthread_cond_check_need_init.c and pthread_cond_destroy.c
Date: Thu, 19 Sep 2002 09:31:00 -0000 [thread overview]
Message-ID: <3D89FC47.3020204@desknetinc.com> (raw)
I see that Mozilla mangled my table that illustrates the deadlock when it
converted it to plain text, instead of handling it intelligently. Here's
the table with the spacing corrected:
Thread A Thread B
Enters ptw32_cond_check_need_init Enters pthread_cond_destroy
EnterCriticalSection(&ptw32_cond_test_init_lock) EnterCriticalSection(&ptw32_cond_list_lock)
(now holds ptw32_cond_test_init_lock) (now holds ptw32_cond_list_lock)
Enters pthread_cond_init Determines that condvar is static initialized
EnterCriticalSection(&ptw32_cond_list_lock) EnterCriticalSection(&ptw32_cond_test_init_lock)
(now waiting to enter ptw32_cond_list_lock) (now waiting to enter ptw32_cond_test_init_lock)
deadlocked
Michael Johnson
DeskNet Inc.
66 Pearl Street, Suite 300
Portland, ME 04101
Harness the Power of Your Content
next reply other threads:[~2002-09-19 16:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-19 9:31 Michael Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-19 9:17 Michael Johnson
2002-09-19 19:40 ` Ross Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D89FC47.3020204@desknetinc.com \
--to=mjohnson@desknetinc.com \
--cc=pthreads-win32@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).