Where's the other thread currently at?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



>From one thread within my driver, I would like to find out where my other
thread is currently executing. In particular, I would like to get these three
CPU registers from the other thread's context:

ip
esp
ebp

The only way I can think of is for my current thread to signal to the other
thread to store these in some global storage. Then my current thread needs to
poll these locations to see when they are filled in. This does, however, seem
overly complicated.

Is it perhaps possible to query the scheduler for these things?
Can I access the other thread's context directly?

/ Hannes.
.



Relevant Pages

  • Re: toshiba ACPI /proc interface nonresponsive (>2.6.9)
    ... > Enabling unmasked SIMD FPU exception support... ... > ACPI: Interpreter enabled ... > usbcore: registered new driver usbfs ... > io scheduler anticipatory registered ...
    (Linux-Kernel)
  • Re: limiting table access and RWOP queries
    ... your code is not executing a stored query. ... Queries that are executed through code, ... > If I log in as the owner of the table, ...
    (microsoft.public.access.security)
  • Re: Oneys Book, HandleQueryStop(): Why is there no race condition?
    ... The simplest approach is to just deny the query. ... allow the query but leave the system vulnerable as the race condition cannot ... >> If there is need to stop the device, the driver should be ... >>> Conexant Systems, Inc. ...
    (microsoft.public.development.device.drivers)
  • RE: Calculating the cumulative totals for an ending result
    ... Your query fields do not correspond the sample data. ... FROM Odometer INNER JOIN Movement ON Odometer.Unit = Movement.Unit ... "KARL DEWEY" wrote: ... 'Business KM and Personal KM' per unit# with the driver for the month. ...
    (microsoft.public.access.queries)
  • Re: NDIS 5.0 driver on Win98
    ... Driver works fine otherwise but as ... > when running without the DOS box active. ... A Windows Console process is also created as well to display ... >> VM scheduler context is the 'system VM' and not an arbitrary VM (like ...
    (microsoft.public.development.device.drivers)