[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] task suspended ?
You can send a wakeup signal. This will have no effect if the
thread is already awake.
On Tue, Sep 05, 2000 at 02:58:19PM +0200, Jan Albiez wrote:
> Hoi !
>
> Is there any chance to find out wether a task is suspended with
> pthread_suspend_np ?
>
> My problem is, that I have a queue emptying thread, which sould be suspend
> itself when the queue is empty, and started again for a periodic time until
> the queue ist empty again. The startup should be done from outside the task.
>
> blue skies
> Jan
>
> --
> -- Jan Christian Albiez --
> -- FZI -- Haid-und-Neu-Str. 10-14 -- 76131 Karlsruhe -- +49 721 9654 206 --
> -- segmentation violation in module reality.o ...
> ... please shutdown your universe and reboot --
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
--
---------------------------------------------------------
Victor Yodaiken
Finite State Machine Labs: The RTLinux Company.
www.fsmlabs.com www.rtlinux.com