linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Simple module question
@ 2004-02-19 20:28 Karsten Jeppesen
  2004-02-20  7:37 ` Ing.Gianfranco Morandi (LAN)
  0 siblings, 1 reply; 3+ messages in thread
From: Karsten Jeppesen @ 2004-02-19 20:28 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: Simple module question
@ 2004-02-19 20:38 Steven Blakeslee
  0 siblings, 0 replies; 3+ messages in thread
From: Steven Blakeslee @ 2004-02-19 20:38 UTC (permalink / raw)
  To: 'Karsten Jeppesen', linuxppc-embedded


look into wait queues.

-----Original Message-----
From: Karsten Jeppesen [mailto:kj-list@jeppesens.com]
Sent: Thursday, February 19, 2004 3:29 PM
To: linuxppc-embedded@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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-20  7:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19 20:28 Simple module question Karsten Jeppesen
2004-02-20  7:37 ` Ing.Gianfranco Morandi (LAN)
  -- strict thread matches above, loose matches on Subject: below --
2004-02-19 20:38 Steven Blakeslee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).