General

General

How can I get the thread pointer from the zone ID?

    • FAQFAQ
      Participant

      To the macro that you are using, the pointer of the thread (zone) you want to access may not be included in the argument, so you can get a pointer using the following macro: Lookup_Thread (domain, zone_ID) and domain pointer, do it giving Zone_ID, corresponding to the ID, you can get the thread pointer. In addition, THREAD_ID (T) can get the Zone_ID from the thread pointer.