Author Topic: OmronEthernetFINSCom Thread Safe?  (Read 562 times)

TheColonel26

  • Newbie
  • *
  • Posts: 25
    • View Profile
OmronEthernetFINSCom Thread Safe?
« on: March 21, 2018, 01:38:25 PM »
Is the OmronEthernetFINSCom driver thread safe? Can I make calls to it from multiple threads? Or will I need to create a new instance for each thread?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5266
    • View Profile
    • AdvancedHMI
Re: OmronEthernetFINSCom Thread Safe?
« Reply #1 on: March 21, 2018, 02:28:10 PM »
Yes. It uses transaction numbers and queues to allow it to accept command from multiple threads.

TheColonel26

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: OmronEthernetFINSCom Thread Safe?
« Reply #2 on: March 21, 2018, 02:36:01 PM »
Awesome this made my day.

BTW Thanks you for all your work on AdvancedHMI Archie.