<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hanging process. C/C++ function to get process information. in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571207#M32588</link>
    <description>Thanks Volker for the commands,&lt;BR /&gt;&lt;BR /&gt;Attached is the information provided by SDA for two hanging processes.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Miguel</description>
    <pubDate>Fri, 08 Jul 2005 07:04:23 GMT</pubDate>
    <dc:creator>Miguel Sanchez_2</dc:creator>
    <dc:date>2005-07-08T07:04:23Z</dc:date>
    <item>
      <title>Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571201#M32582</link>
      <description>We have a C++ program running on Open VMS 7.1.&lt;BR /&gt;We start several instances of the program (&amp;gt;20). The program is connected to a message bus to get requests and control commands like "exit".&lt;BR /&gt;Some times, when we send an "exit" command some of the instances hang. &lt;BR /&gt;I have added additional logs to the program to get a clue where the process is hanging.&lt;BR /&gt;The logs show that the main() function runs until the last line in code ("return"). &lt;BR /&gt;What could be the cause for that.&lt;BR /&gt;I would like to log the process information just before "return" in main() hopping to get an idea on what the process is doing.&lt;BR /&gt;How can I get the process information?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Miguel</description>
      <pubDate>Mon, 27 Jun 2005 04:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571201#M32582</guid>
      <dc:creator>Miguel Sanchez_2</dc:creator>
      <dc:date>2005-06-27T04:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571202#M32583</link>
      <description>Miguel,&lt;BR /&gt;welcome to vms forum!&lt;BR /&gt; &lt;BR /&gt;You posted too little informazions for helping you. I hint you checking for return code status.&lt;BR /&gt;I guess you have one or both troubles:&lt;BR /&gt;a) Your software writes using bad pointer but inside its allocation space; in this case your application doesn't get Invalid Allocation Error when which's using pointer but when exits;&lt;BR /&gt;b) On exit your application executes some function that's use a bad pointer.&lt;BR /&gt; &lt;BR /&gt;About return, AFAIK on main function it's better use exit() but application can work with return too.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Jun 2005 05:14:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571202#M32583</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-06-27T05:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571203#M32584</link>
      <description>what state is the process in when it is not responding?</description>
      <pubDate>Mon, 27 Jun 2005 07:51:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571203#M32584</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-06-27T07:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571204#M32585</link>
      <description>Thanks Antoniov and Ian for your reply,&lt;BR /&gt;&lt;BR /&gt;I should say that I am not an VMS expert. I do the development on UNIX and than port the program to VMS.&lt;BR /&gt;Please, let me know what kind of information you need to help me.&lt;BR /&gt;&lt;BR /&gt;Is there a possibility to get more proccess information before exiting the main function? &lt;BR /&gt;For example, I think it could be useful to write a proccess dump (stack dump) like after a crash. How can I do that?.&lt;BR /&gt;Do I have a chance to know if the application ist using bad pointers?&lt;BR /&gt;&lt;BR /&gt;Ian:&lt;BR /&gt;How can I get the proccess state you are asking for?&lt;BR /&gt;Below is the process information provided by "show proccess/all/id=xxxx":&lt;BR /&gt;&lt;BR /&gt;24-JUN-2005 09:13:06.37   User: AA_XX         Process ID:   49C32B1C&lt;BR /&gt;                          Node: AAA           Process name: "WSM_BGH0LW_P_1"&lt;BR /&gt;&lt;BR /&gt;Terminal:           &lt;BR /&gt;User Identifier:    [BBBUSR,AA_XX]&lt;BR /&gt;Base priority:      4&lt;BR /&gt;Default file spec:  Not available&lt;BR /&gt;Number of Kthreads: 2&lt;BR /&gt;&lt;BR /&gt;Devices allocated:  BG411:&lt;BR /&gt;&lt;BR /&gt;Process Quotas:&lt;BR /&gt; Account name:         &lt;BR /&gt; CPU limit:                      Infinite  Direct I/O limit:       960&lt;BR /&gt; Buffered I/O byte count quota:     97440  Buffered I/O limit:    2688&lt;BR /&gt; Timer queue entry quota:             199  Open file quota:        294&lt;BR /&gt; Paging file quota:                966096  Subprocess quota:        50&lt;BR /&gt; Default page fault cluster:           64  AST quota:              499&lt;BR /&gt; Enqueue quota:                      2999  Shared file limit:        0&lt;BR /&gt; Max detached processes:                0  Max active jobs:          0&lt;BR /&gt;&lt;BR /&gt;Accounting information:&lt;BR /&gt; Buffered I/O count:   3756229  Peak working set size:      31792&lt;BR /&gt; Direct I/O count:      889650  Peak virtual size:         202976&lt;BR /&gt; Page faults:             2711  Mounted volumes:                0&lt;BR /&gt; Images activated:          17&lt;BR /&gt; Elapsed CPU time:          0 00:53:46.39&lt;BR /&gt; Connect time:              3 23:51:21.52&lt;BR /&gt; &lt;BR /&gt;Authorized privileges:&lt;BR /&gt; GROUP        NETMBX       OPER         SYSLCK       TMPMBX&lt;BR /&gt; &lt;BR /&gt;Process privileges:&lt;BR /&gt; GROUP                may affect other processes in same group&lt;BR /&gt; NETMBX               may create network device&lt;BR /&gt; SYSLCK               may lock system wide resources&lt;BR /&gt; TMPMBX               may create temporary mailbox&lt;BR /&gt; &lt;BR /&gt;Process rights:&lt;BR /&gt; AA_XX                          resource&lt;BR /&gt; &lt;BR /&gt;System rights:&lt;BR /&gt; SYS$NODE_AAA                   &lt;BR /&gt; &lt;BR /&gt;Auto-unshelve: on&lt;BR /&gt; &lt;BR /&gt;Image Dump: off&lt;BR /&gt; &lt;BR /&gt;Soft CPU Affinity: off&lt;BR /&gt; &lt;BR /&gt;Parse Style: Traditional&lt;BR /&gt; &lt;BR /&gt;Home RAD: 0&lt;BR /&gt;&lt;BR /&gt;There is 1 process in this job: &lt;BR /&gt;&lt;BR /&gt;  WSM_BGH0LW_P_1 (*)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Miguel</description>
      <pubDate>Tue, 05 Jul 2005 07:26:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571204#M32585</guid>
      <dc:creator>Miguel Sanchez_2</dc:creator>
      <dc:date>2005-07-05T07:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571205#M32586</link>
      <description>Miguel,&lt;BR /&gt;&lt;BR /&gt;you can simply obtain the state of your process with SHOW SYSTEM/PROC=&lt;NAME-OF-PROCESS&gt;&lt;BR /&gt;&lt;BR /&gt;As you are running an old version of OpenVMS, you cannot use the SET PROC/DUMP=NOW command to force a process dump, when your process is hung.&lt;BR /&gt;&lt;BR /&gt;But you can look at the hung process with SDA&lt;BR /&gt;&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;SDA&amp;gt; SET PROC/IND=&lt;PROCESS-ID-OF-YOUR-PROCESS&gt;&lt;BR /&gt;SDA&amp;gt; SHOW PROC&lt;BR /&gt;SDA&amp;gt; SHOW PROC/LOCK&lt;BR /&gt;SDA&amp;gt; SHOW PROC/CHAN&lt;BR /&gt;SDA&amp;gt; CLUE CALL&lt;BR /&gt;SDA&amp;gt; SHOW STACK&lt;BR /&gt;&lt;BR /&gt;The information obtained by SDA needs to be reviewed by someone experienced with OpenVMS internals.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/PROCESS-ID-OF-YOUR-PROCESS&gt;&lt;/NAME-OF-PROCESS&gt;</description>
      <pubDate>Tue, 05 Jul 2005 08:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571205#M32586</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-07-05T08:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571206#M32587</link>
      <description>Miguel,&lt;BR /&gt;&lt;BR /&gt;Which log are you looking at?&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 05 Jul 2005 10:00:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571206#M32587</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-07-05T10:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571207#M32588</link>
      <description>Thanks Volker for the commands,&lt;BR /&gt;&lt;BR /&gt;Attached is the information provided by SDA for two hanging processes.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Miguel</description>
      <pubDate>Fri, 08 Jul 2005 07:04:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571207#M32588</guid>
      <dc:creator>Miguel Sanchez_2</dc:creator>
      <dc:date>2005-07-08T07:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571208#M32589</link>
      <description>Miguel,&lt;BR /&gt;&lt;BR /&gt;o.k. - so the program 'hangs' in PTRHEADs (indicated by the process state of HIBernate and PTRHEAD$RTL as the caller of SYS$HIBER_C). You now need to use the SDA PTHREAD extension to look at the PTHREAD status of the process:&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; SET PROC/IND=&lt;PID-OF-YOUR-PROCESS&gt;&lt;BR /&gt;SDA&amp;gt; pthread help ! gives some help about options&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; pthread t -1a  ! show thread state&lt;BR /&gt;&lt;BR /&gt;You are running OpenVMS Alpha V7.2-2. Make sure you have all available patches installed. There is a VMS722_PTRHEAD-V0100 patch (among many others).&lt;BR /&gt;&lt;BR /&gt;But before installing patches, start with looking at the thread states of your application first, maybe you can find the problem in the application...&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/PID-OF-YOUR-PROCESS&gt;</description>
      <pubDate>Sat, 09 Jul 2005 00:29:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571208#M32589</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-07-09T00:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571209#M32590</link>
      <description>Hello Volker,&lt;BR /&gt;&lt;BR /&gt;Attached is the threads information provided by SDA.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Miguel</description>
      <pubDate>Mon, 08 Aug 2005 10:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571209#M32590</guid>
      <dc:creator>Miguel Sanchez_2</dc:creator>
      <dc:date>2005-08-08T10:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571210#M32591</link>
      <description>Miguel,&lt;BR /&gt;&lt;BR /&gt;thanks for the info. The situation is the same in both hanging processes:&lt;BR /&gt;&lt;BR /&gt;The exit-handling thread is blocked on a mutex&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; pthread mutexes &lt;BR /&gt;&lt;BR /&gt;will show the mutexes. To see which code is running in the exit-handling thread, one could try:&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; pthread stack&lt;BR /&gt;&lt;BR /&gt;and then examine the current stack of thread -4&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; SHOW STACK &lt;CURRENT-STACK-PTR&gt;;60&lt;BR /&gt;&lt;BR /&gt;If you can locate a frame pointer, try SDA&amp;gt; SHOW CALL &lt;FRAME-POINTER&gt;, otherwise just provide the output from the commands above.&lt;BR /&gt;&lt;BR /&gt;Please be aware, that this might become a lengthy troubleshooting effort. Did you check, whether you have the most recent PTHREAD patches installed ?&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/FRAME-POINTER&gt;&lt;/CURRENT-STACK-PTR&gt;</description>
      <pubDate>Mon, 08 Aug 2005 12:04:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571210#M32591</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-08-08T12:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571211#M32592</link>
      <description>Hell Volker,&lt;BR /&gt;&lt;BR /&gt;Attached is the output of SDA with the thread stack information.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Miguel</description>
      <pubDate>Fri, 12 Aug 2005 11:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571211#M32592</guid>
      <dc:creator>Miguel Sanchez_2</dc:creator>
      <dc:date>2005-08-12T11:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571212#M32593</link>
      <description>I had some "fun" debugging a C++ program that was threaded a few months back.  A few points that might help:&lt;BR /&gt;&lt;BR /&gt;- You can use debug/keep on the process thats hanging.  Then you can actually do a show calls to see where in your app its hanging. The sequence you would follow is:&lt;BR /&gt;  1. debug/keep&lt;BR /&gt;  2. At debug prompt : connect &lt;PROCESS_NAME&gt;&lt;BR /&gt;  3. type cmd:  show task/all to see all&lt;BR /&gt;   the threads running in your app and their&lt;BR /&gt;   state.&lt;BR /&gt;  4. set task &lt;THREAD&gt;  to set context to&lt;BR /&gt;  a particular thread.&lt;BR /&gt;  5. show calls to see the call stack for &lt;BR /&gt;   the thread. &lt;BR /&gt;&lt;BR /&gt;Even better if you have the code built debug, you can then set break to a function and see where in the code its sitting.&lt;BR /&gt;&lt;BR /&gt;- Other common problem that is encountered with threaded apps is the the pthread stack size being too small.  Sometimes the app doesn't fail in obvious ways.  The default stack size is oftentimes too small.  You can explicitly set it with a call to pthread_attr_setstacksize.   If some thread that is is supposed to sync up with some other threads dies before that sync point the other threads could be waiting there forever waiting for that sync point which will never happen because of the dead thread.&lt;/THREAD&gt;&lt;/PROCESS_NAME&gt;</description>
      <pubDate>Fri, 12 Aug 2005 15:16:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571212#M32593</guid>
      <dc:creator>Anthony Magana</dc:creator>
      <dc:date>2005-08-12T15:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571213#M32594</link>
      <description>Miguel,&lt;BR /&gt;&lt;BR /&gt;unfortunately, the SDA&amp;gt; SHOW STACK 277990;60 (of the blocked exit-handling thread) did not provide enough information. Next time, try SDA&amp;gt; SHOW STACK ...;100&lt;BR /&gt;&lt;BR /&gt;Or - even better - try the kept debugger as suggested by Anthony.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sat, 13 Aug 2005 13:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571213#M32594</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-08-13T13:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571214#M32595</link>
      <description>Hi Volker,&lt;BR /&gt;&lt;BR /&gt;I have attached the output from SDA, this time with more pthread stack info.&lt;BR /&gt;&lt;BR /&gt;I have checked with the system administrator and they have the latest pthread patches installed.&lt;BR /&gt;&lt;BR /&gt;Anthony:&lt;BR /&gt;We have tried to debug the process but we get the error:&lt;BR /&gt;DBG&amp;gt; connect WSM_BGH1SW_P_1 &lt;BR /&gt;%DEBUG-E-NOCONNECT, CONNECT command failed &lt;BR /&gt;-SYSTEM-W-NONEXPR, nonexistent process &lt;BR /&gt;&lt;BR /&gt;But that is actually the process name. What are we doing wrong?.&lt;BR /&gt;Another question: how can I get the pthread stack size?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help,&lt;BR /&gt;Miguel</description>
      <pubDate>Fri, 19 Aug 2005 04:31:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571214#M32595</guid>
      <dc:creator>Miguel Sanchez_2</dc:creator>
      <dc:date>2005-08-19T04:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571215#M32596</link>
      <description>Miguel,&lt;BR /&gt;&lt;BR /&gt;to use DBG&amp;gt; CONNECT process-name, both processes must be running under the same group UIC. Alternatively you can use:&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; CONNECT %PROCESS_PID pid-of-process&lt;BR /&gt;&lt;BR /&gt;If it hangs the next time and the thread -4 stack pointer is again 277990, you can look at the call frames with&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; SHOW CALL 277A60&lt;BR /&gt;SDA&amp;gt; SHOW CALL/NEXT&lt;BR /&gt;and so on, or&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; CLUE CALL 277A60&lt;BR /&gt;&lt;BR /&gt;277A60 seems to be a valid FP pointing to the stack where the PDSC address (Procedure Descriptor) of PTHREAD_MUTEX_BLOCK is stored.&lt;BR /&gt;&lt;BR /&gt;When looking at the call frames, try to find the first Return address in P0 space, i.e. in your WMSRV image. The look up the map and source listing and find out, what code is running at that address and what it's trying to do.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Fri, 19 Aug 2005 07:46:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571215#M32596</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-08-19T07:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hanging process. C/C++ function to get process information.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571216#M32597</link>
      <description>In the app I worked with there was a mix of C and C++ code. The threads were explicitly created and started from C code with pthread_create calls. Before the call to the create we would set up the thread attribute with the desired stack size by calling pthread_attr_setstacksize.  If you don't explicitly set the stack size there is some default that pthreads uses (don't remember offhand what it is).  As I'm not that familiar with C++, I don't if there is some language native construct for creating threads in C++.  I'd guess that you would be using the pthreads lib if the app explicitly codes to use threads.</description>
      <pubDate>Mon, 22 Aug 2005 18:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hanging-process-c-c-function-to-get-process-information/m-p/3571216#M32597</guid>
      <dc:creator>Anthony Magana</dc:creator>
      <dc:date>2005-08-22T18:00:41Z</dc:date>
    </item>
  </channel>
</rss>

