I put these in but deleted the portion of the patch for wake_up_sync and wake_up_interruptible_sync. In 2.4 kernels these depend upon an internal kernel routine that is not exported.
Thanks,
Dave
At 02:16 PM 5/5/2004, Gurol Akman wrote:
dave,
per your suggestions, i modified the following files:
+ osif.h
+ osif.c
+ exports.c
to provide support for the following kernel routines:
+ sleep_on_timeout
+ interruptible_sleep_on_timeout
+ wait_event
+ wait_event_interruptible
+ wake_up_sync
+ wake_up_interruptible_sync
could you pls review these changes and consider incorporating them in a future release (if you deem appropriate).
thank you in advance. regards,
gurol
------
- -----Original Message-----
- From: Dave Grothe [mailto:[EMAIL PROTECTED]]
- Sent: Wednesday, May 05, 2004 11:38 AM
- To: Gurol Akman; '[EMAIL PROTECTED]'
- Subject: Re: [Linux-streams] RE: delay routines
- At 10:43 PM 5/4/2004, Gurol Akman wrote:
- follow up on question # 2 below:
- i'm wondering
- why
- That's easy. Because the AT&T SVR4 STREAMS programming guide does not include any such functions. LiS is a STREAMS environment augmented by some Linux kernel interfacing routines, not a kernel interface with a STREAMS component.
- Why don't you just code an abstraction of your own for delay(9) and put the kernel code in it for Linux?
- Or send a patch for osif.[ch] for the lis_sleep... functions? Or send a patch to implement the Solaris compatible delay(9) function?
- -- Dave
Attachments are virus free!
This message has been scanned for viruses at the originating end by
Nemx Anti-Virus for MS Exchange Server/IMC
http://www.nemx.com/products/antivirus
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.663 / Virus Database: 426 - Release Date: 4/20/2004
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.663 / Virus Database: 426 - Release Date: 4/20/2004
