Alaska Software Inc. - Test for open files in other threads
Username: Password:
AuthorTopic: Test for open files in other threads
Jack DuijfTest for open files in other threads
on Wed, 07 Jun 2017 17:34:31 +0200
Hello,

For diagnostic reasons, i want to create a log file of all threads, and the open files per running thread.

I use ThreadInfo() and get the callstack per for every running thread.  I use Procname() and Procline()

How can i get a list of all open files (alias) per running thread?


Regards
Jack Duijf

-------------------------------------------------------------
Also a member off the XXP (http://www.xxp.nl)
Jim LeeRe: Test for open files in other threads
on Wed, 07 Jun 2017 19:31:06 +0200
> How can i get a list of all open files (alias) per running thread?

WorkSpaceEval() see help sample
Jack DuijfRe: Test for open files in other threads
on Wed, 07 Jun 2017 19:38:51 +0200
Hello Jim

Thank you for the repply.
I am aware of this function.
Unfortunaly, this must be executed in the thread where the workareas are opened.

Assume tread 1,2,3 and 4.
All have open workareas.

Now i start thread 5, and want to create a list of all open files per thread.
So for thread 1,2,3 and 4 a list of open workareas

How can i do this ?


On Wed, 07 Jun 2017 19:31:06 +0200, Jim Lee wrote:

>> How can i get a list of all open files (alias) per running thread?
>
>WorkSpaceEval() see help sample 
>
Regards
Jack Duijf

-------------------------------------------------------------
Also a member off the XXP (http://www.xxp.nl)