public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: Markus Forrer <markus.forrer@gmx.ch>
To: "ross.johnson" <ross.johnson@homemail.com.au>
Cc: Ger Hobbelt <ger@hobbelt.com>, pthreads-win32@sourceware.org
Subject: RE: RE:  Re: Problems with conditions
Date: Wed, 31 Mar 2021 06:43:02 +0200	[thread overview]
Message-ID: <trinity-73a95cae-bfec-4f04-8738-b480ee5ae9b9-1617165782111@3c-app-gmx-bs44> (raw)
In-Reply-To: <96626b$99eemj@icp-osb-irony-out9.iinet.net.au>

Thank you for your answer.

I implemented the code exactly the same way (with the condition variable) as in the sample code. But it worked only after I replaced PTHREAD_MUTEX_ERRORCHECK with PTHREAD_MUTEX_DEFAULT. The main thing is that it works now! :-)


      reply	other threads:[~2021-03-31  4:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29 12:19 markus.forrer
2021-03-30  7:15 ` Ger Hobbelt
2021-03-30 15:37   ` Aw: " markus.forrer
2021-03-31  1:30     ` ross.johnson
2021-03-31  4:43       ` Markus Forrer [this message]

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=trinity-73a95cae-bfec-4f04-8738-b480ee5ae9b9-1617165782111@3c-app-gmx-bs44 \
    --to=markus.forrer@gmx.ch \
    --cc=ger@hobbelt.com \
    --cc=pthreads-win32@sourceware.org \
    --cc=ross.johnson@homemail.com.au \
    /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).