IODelay function
IODelay function
- Subject: IODelay function
- From: "Imran Kazi " <email@hidden>
- Date: Mon, 2 May 2005 19:44:48 +0530
Hi folks,
I had written media filter scheme driver.
I have implemented read/write routine in the driver. I am able to
successfully write on the disk using
this driver.
Actually i have to hold the write routine for a small time interval say (few
seconds),so that i call the read routine of my driver and read the data on
the disk and then call the write routine. I am doing this to read the data
on the disk and copy it to some other disk before my original write routine
modifies the data on the disk. I am using IODelay routine to delay my driver
write routine for a few seconds. But because of IODelay function my read
routine also gets delay as i am specifying IODelay before calling read
routine.
Is it possible to delay only write call and not the read call, so that I
call my driver read routine to get the data on the disk and then call write
routine???
Thanks in advance.
Imran
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden