Announcement

Collapse
No announcement yet.

Thread suspend count??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Thread suspend count??

    Good evening everybody

    This really seems like something that should be possible. Is there a way to query a thread's suspend count? I might just be tired but in that last hour of searching I’ve come up empty. I’ve been debugging a threaded app and being able to see if a thread is suspended would be very helpful.

    as always
    thank you for your thoughts
    BASIC shampoo - DO:LATHER:RINSE:LOOP UNTIL CLEAN <>0

  • #2
    Suspend and resume the thread. (THREAD SUSPEND/RESUME). The return value is the previous suspend count in both cases.
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment

    Working...
    X