Re: IGlobalInterfaceTable questions

Tech-Archive recommends: Speed Up your PC by fixing your registry



I think I was dealing with pretty much the same problem lately... I'm
using a pool to cache interfaces that might be used by different
threads. The pool contains a cookie stack, and an interface to the GIT.
When a thread needs an interface, it turns to the pool and asks for
one. If there is none available, one is allocated. When the thread is
done, it returns the interface to the pool. At this point, if the
interface has already been registered in the GIT, the original cookie
should be put back it the cookie stack, without registering the
interface again. If the interface wasn't registered, now is the time.

The solution was pretty simple - the interface should be registered in
the GIT right after it is created, and the cookie should be moved
around with the interface. I inherited CComPtr for that purpose, and
added a cookie member to it.

If this is not similar to your case, could you please say where did
thread B get the interface from?

.



Relevant Pages

  • Re: NTPD on Windows NT4
    ... >> Heiko Gerstung wrote: ... >> Listening on interface Loopback Interface 1, ... >> addresses from the europe ntp pool which your installation procedure ... > pool servers, but a lot of these countries only have very few pool ...
    (comp.protocols.time.ntp)
  • Re: COM+ object not being released back to the pool
    ... > are exposing the interface methods, ... > Now in my mc++ winform client, ... Now when the object reference gets released, ... If you want the object to get released to the pool deterministically, ...
    (microsoft.public.dotnet.languages.csharp)
  • "secondary" PIX NAT/PAT pools
    ... All the configuration examples I've been able to find for PIXes show NAT ... interface of the PIX. ... separate pool of addresses which could be routed to the PIX? ...
    (comp.dcom.sys.cisco)
  • NAT and high availability
    ... Given a non-bgp, multihomed setup, can the ip nat pool command or something that serves the same purpose be configured such that if the interface associated with the addressin the pool goes down, a backup pool using addresses on the "backup" interface can be used? ...
    (comp.dcom.sys.cisco)
  • Re: Strange network timeouts w/ 2.6.30.5
    ... e100 which is used as my WAN interface on a server/router box. ... ACPI: Local APIC address 0xfee00000 ... TCP reno registered ... ctnetlink v0.93: registering with nfnetlink. ...
    (Linux-Kernel)