[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] putting threads to sleep





Why not pthread_suspend_np(thread)?

On Thu, 3 May 2001, karl rentsch wrote:

> Hi all,
>
> I've got a problem I hope someone can help me with.  I'm trying to put a
> thread to sleep but I don't want to tie up the system using usleep() or
> nanosleep().  I've tried using pthread_make_periodic_np configured as a
> one shot timer (ie. it needs to repeat several times but for different
> time intervals) but it doesn't seem to work
> Any help would be much appreciated
> Thanks
> Karl Rentsch
>
> -- [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/
>