Stopping Thread from TCL procedure

Clovertech Forums Read Only Archives Cloverleaf Tcl Library Stopping Thread from TCL procedure

  • Creator
    Topic
  • #54728
    Tauqirul Haque
    Participant

      Based on some validation, I want to stop a thread which is started. I want to achieve the same from TCL procedure. I will be really thankful if I can get some help.  

      Thanks in advance.

    Viewing 1 reply thread
    • Author
      Replies
      • #82741
        James Cobane
        Participant

          Hi Tauqirul,

          You can simply use the ‘exec’ action within your tcl and run the same hci command that you would run from the command line:

          exec hcicmd -p myprocess -c “mythread pstop”

          Hope this helps.

          Jim Cobane

          Henry Ford Health

        • #82742
          Tauqirul Haque
          Participant

            Hi Jim,

            Thanks for the help, its working.

            Regards

        Viewing 1 reply thread
        • The forum ‘Tcl Library’ is closed to new topics and replies.