Can the AddDevice function be called by two devices
(handled by the same driver) concurrantly. In other
words, if I have to use a global resource in add
device do I have to synchronize it?
Rajeev
Everything you always wanted to know about cars and bikes,now
at: http://in.autos.yahoo.com/cricket/tracker.html
I think that the current implementation is serialized, but I also
believe that that behavior is undocumented and could change.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rajeev Rao
Sent: Wednesday, May 29, 2002 5:23 AM
To: NT Developers Interest List
Subject: [ntdev] AddDevice Concurrancy
Can the AddDevice function be called by two devices
(handled by the same driver) concurrantly. In other
words, if I have to use a global resource in add
device do I have to synchronize it?
Rajeev
Everything you always wanted to know about cars and bikes,now
at: http://in.autos.yahoo.com/cricket/tracker.html
You are currently subscribed to ntdev as:
xxxxx@hollistech.com To unsubscribe send a blank email to
%%email.unsub%%
Ok. for now, I’ve mutexed the access to the resource.
Slightly inefficient, but I didn’t think it mattered,
as add device is a onetime call. Is there any problem
with doing this?
Rajeev
Everything you always wanted to know about cars and bikes,now
at: http://in.autos.yahoo.com/cricket/tracker.html
Yes. This depends on OS version, but XP really starts many devnodes in
parallel.
Max
----- Original Message -----
From: “Rajeev Rao”
To: “NT Developers Interest List”
Sent: Wednesday, May 29, 2002 1:23 PM
Subject: [ntdev] AddDevice Concurrancy
> Can the AddDevice function be called by two devices
> (handled by the same driver) concurrantly. In other
> words, if I have to use a global resource in add
> device do I have to synchronize it?
>
> Rajeev
>
>
____________________________________________________________________
> Everything you always wanted to know about cars and bikes,now
> at: http://in.autos.yahoo.com/cricket/tracker.html
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>
> I think that the current implementation is serialized
w2k’s - yes, but XP got rid of this to decrease the boot time.
Max
Will it attempt to start two of the same type of devices at the same time?
I would be surprised at this.
–
Bill McKenzie
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
>
> > I think that the current implementation is serialized
>
> w2k’s - yes, but XP got rid of this to decrease the boot time.
>
> Max
>
>
>
>