[ECOS] stopping and resuming threads

Andrew Lunn andrew.lunn@ascom.ch
Mon Feb 4 08:40:00 GMT 2002


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



More information about the Ecos-discuss mailing list