On Thu, Aug 30, 2001 at 07:45:37PM -0000, kurian kattukaren wrote:
> >> thread_t current = mach_current_thread();
> >> int long schedule_timeout(long int timeout)
> void process_timeout(unsingned long data)
[snipped]
Hi,
I checked in a similar implementation that works correctly, and also uses
interruptible_sleep_on a wait queue, so that the call can be interrupted
(the problem with thread_suspend/thread_resume is that it is interruptible).
I think the implementation works fine, but I only did basic testing. If
there is any problem with it, let us know.
Thanks,
Marcus
2001-10-14 Marcus Brinkmann <[EMAIL PROTECTED]>
* glue-include/linux/sched.h (process_schedule_timeout): New
function used as timer callback for schedule_timeout.
(schedule_timeout): Implement it.
Suggested by "kurian kattukaren" <[EMAIL PROTECTED]>.
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd