From: Will Bryant <will.bryant@ecosm.com>
To: pthreads-win32@sources.redhat.com
Subject: Re: Struggling with a loop
Date: Mon, 15 May 2006 02:18:00 -0000 [thread overview]
Message-ID: <4467E4C5.8080506@ecosm.com> (raw)
Mats Aubell wrote:
> I tried to pass it like this:
>
> pthread_create(&thread, NULL, RunApplication, (void*)top)
>
> with the following method:
>
> void * RunApplication(void * arg)
> {
> SR *top = SR*(arg);
> StartRecogniser();
> do {
> top->Ask();
> top->Reset();
> } while(1);
> return 0;
> }
>
> but the create thread method didn't approve of it.
>
>
Can you give us a bit more to go on here - what error does it produce?
--
Will Bryant
next reply other threads:[~2006-05-15 2:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-15 2:18 Will Bryant [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-05-12 14:26 Mats Aubell
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=4467E4C5.8080506@ecosm.com \
--to=will.bryant@ecosm.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).