- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: cobol thread options
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2007 09:55 PM
тАО08-27-2007 09:55 PM
cobol thread options
I am trying to make a program than creates a thead that creates another thread.
Then i want to finish de first thread and automatically finish its sun.
I have made a test program but it does not work. The father it┬┤s independent and the son still lives.
Do you guys know if there is any manner to do this. A thread create option or somthing like that ?
Thanks in advance
- Tags:
- COBOL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2007 07:35 AM - edited тАО02-08-2014 07:38 PM
тАО08-28-2007 07:35 AM - edited тАО02-08-2014 07:38 PM
Re: COBOL thread options
I doubt there is anyone here that knows MF COBOL but you. ;-) So we can only answer at a system call or C level.
Threads are completely independent. If you want the parent thread to stop the child, you must use pthread_kill or pthread_cancel. Or for joinable threads, you can use pthread_join to wait for the child.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2007 03:24 AM
тАО08-29-2007 03:24 AM
Re: cobol thread options
You should go to the MF web site. At their documentation web page, in their bookshelf for Server Express there is a Multi-Threaded Programming manual that discusses how to create COBOL multi-threaded applications.
You don't need a support contract with MF in order to get to the manuals at their site. Here's the one for Server Express 2.2. I think all the other bookshelves will have the same manuals.
http://supportline.microfocus.com/documentation/books/sx22sp1/mtpubb.htm
Good luck!