Menu

#296 Rework updateTCNDNSentry() single thread for Windows Sim 11:36:13 12-8-2021

2.1.0.0
closed
2244 (1)
2021-08-12
2019-11-18
No

Tau_dnr.c::updateTCNDNSentry(…)
For simulation we need to rework the while loop when tlc_process is called by own thread. vos_threadDelay() shall be used instead of vos_semaTake() with a timeout.
I’m also concerned about how the “dnsSema” is trigged in any solution with single thread. If there is no other thread no one else can trig it, or is it trigged by interrupt?

Discussion

  • Anders Öberg

    Anders Öberg - 2019-11-19
    • summary: Rework updateTCNDNSentry single thread for Windows Sim --> Rework updateTCNDNSentry() single thread for Windows Sim
     
  • Anders Öberg

    Anders Öberg - 2020-05-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,3 @@
     Tau_dnr.c::updateTCNDNSentry(…)
    -For simulation we need to rework the with loop when tlc_process is called by own thread. vos_threadDelay() shall be used instead of vos_semaTake() with a timeout.
    +For simulation we need to rework the while loop when tlc_process is called by own thread. vos_threadDelay() shall be used instead of vos_semaTake() with a timeout.
     I’m also concerned about how the “dnsSema” is trigged in any solution with single thread. If there is no other thread no one else can trig it, or is it trigged by interrupt?
    
     
  • Armin-Hagen Weiss

    • status: open --> accepted
    • assigned_to: Anders Öberg
     
  • Anders Öberg

    Anders Öberg - 2021-04-26
     
  • Anders Öberg

    Anders Öberg - 2021-04-26

    Implementation added to trunk.

     
  • Anders Öberg

    Anders Öberg - 2021-04-26
    • status: accepted --> pending
     
  • Armin-Hagen Weiss

    • labels: --> 2244
    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB