This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: stopping and resuming threads
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Tom Coremans <tom dot coremans at acunia dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 4 Feb 2002 17:40:00 +0100
- Subject: Re: [ECOS] stopping and resuming threads
- References: <3C5EB907.BDAC0EB6@acunia.com>
On Mon, Feb 04, 2002 at 05:38:31PM +0100, Tom Coremans wrote:
> Hi all,
>
> I am trying to stop and resume a thread on ecos with
> pthread_kill(thread,SIGSTOP) and pthread_kill(thread,SIGCONT) but that
> doesn`t work because in ecos the signals sigstop and sigcont aren`t
> defined.
>
> Can anybody give me a hint of what is the best method for doing this?
cyg_thread_suspend() and cyg_thread_resume()
Andrew