Simple module question

Steven Blakeslee BlakesleeS at embeddedplanet.com
Fri Feb 20 07:38:25 EST 2004


look into wait queues.

-----Original Message-----
From: Karsten Jeppesen [mailto:kj-list at jeppesens.com]
Sent: Thursday, February 19, 2004 3:29 PM
To: linuxppc-embedded at lists.linuxppc.org
Subject: Simple module question



Aren't they all......


I am doing some heavy work in a write function.
But I have a poll wait loop (waiting for flash program end) where a lot
of time is wasted.
How do I tell the scheduler that I would like t surrender the CPU for
others to use?
I tried calling scheduler(), but that only crashed the kernel.
What is the correct way?

Sincerely,
Karsten


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list