- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- clone equivalent on HP-UX?
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
тАО12-27-2008 08:32 AM
тАО12-27-2008 08:32 AM
clone equivalent on HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2008 08:58 AM
тАО12-27-2008 08:58 AM
Re: clone equivalent on HP-UX?
I suppose that 'vfork' is the closet counterpart to the Linux 'clone()':
http://www.docs.hp.com/en/B2355-60130/vfork.2.html
http://linux.about.com/library/cmd/blcmdl2_clone.htm
Regards!
...JRF...
- Tags:
- vfork
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2008 09:12 AM
тАО12-27-2008 09:12 AM
Re: clone equivalent on HP-UX?
I want somthing which takes args like CLOME_VM,CLONE_FS.
something which is used by pthread_create?
- Tags:
- pthread
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2008 09:35 AM
тАО12-27-2008 09:35 AM
Re: clone equivalent on HP-UX?
> I want somthing which takes args like CLOME_VM,CLONE_FS
You may be hard-pressed to find 1:1 equivalence since the LINUX kernel differs from the HP-UX (UNIX) one. You might get better answers if you describe exactly what it is you want to achieve. Is this a porting issue of a particular piece of code, for example, or is this a more abstract question?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2008 09:47 PM
тАО12-27-2008 09:47 PM
Re: clone equivalent on HP-UX?
> Is this a porting issue of a particular piece of code, for example, or is this a more abstract question?
This is not a porting issue, I was just looking for a function which creates a LWP/thread like entity in HPUX(I don't want to use pthread_create).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2008 09:58 PM
тАО12-27-2008 09:58 PM
Re: clone equivalent on HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2008 11:01 PM
тАО12-27-2008 11:01 PM
Re: clone equivalent on HP-UX?
By definition tusc must show you the calls. But it is better if you use the pthread functions since libc won't work correctly unless libpthread is present.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2008 02:39 AM
тАО12-29-2008 02:39 AM
Re: clone equivalent on HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2008 03:17 AM
тАО12-29-2008 03:17 AM
Re: clone equivalent on HP-UX?
(system calls) Didn't I say that. :-)
Why do you think you need to use these?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2008 04:15 AM
тАО12-29-2008 04:15 AM
Re: clone equivalent on HP-UX?
was just trying to find out whether we can skip pthread_create. This is just for educational purpose :D