Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #735

Re: equivalent for msem_init(),msem_lock() msem_unlock() in linux

Newsgroups comp.os.linux.development.apps
Date 2014-06-18 14:01 -0700
References <aa7cb273-36e9-4a05-9ce0-5f8a4028bc14@googlegroups.com> <lnslt9$1r8$1@dont-email.me>
Message-ID <64a61332-4754-417d-89ee-758109112806@googlegroups.com> (permalink)
Subject Re: equivalent for msem_init(),msem_lock() msem_unlock() in linux
From chaudhary.nabin@gmail.com

Show all headers | View raw


On Wednesday, 18 June 2014 13:31:05 UTC-5, Tauno Voipio  wrote:
> On 18.6.14 21:14, chaudhary.nabin@gmail.com wrote:
> 
> > Does any equivalent functions can be used
> 
> >> on Linux while porting C/C++ applications
> 
> >> from HP-UX for the following APIs
> 
> >
> 
> >> msem_init()==>initialize a semaphore in a mapped file
> 
> >> msem_lock()==> lock a semaphore
> 
> >> msem_unlock==> unlock a semaphore,
> 
> >> I want to port a program that looks somewhat like this
> 
> >> to Linux,
> 
> >
> 
> > please mail me at chaudhary.nabin@gmail.com
> 
> 
> 
> 
> 
> Have you done anything yourself?
> 
> 
> 
> Google gave over 800000 responses to 'linux semaphore'.
> 
> 
> 
> -- 
> 
> 
> 
> Tauno Voipio


i wrote my own routine to implemet these routine through mutex. if you have any idea other that this please let me know

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

equivalent for msem_init(),msem_lock() msem_unlock() in linux chaudhary.nabin@gmail.com - 2014-06-18 11:14 -0700
  Re: equivalent for msem_init(),msem_lock() msem_unlock() in linux Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2014-06-18 21:31 +0300
    Re: equivalent for msem_init(),msem_lock() msem_unlock() in linux chaudhary.nabin@gmail.com - 2014-06-18 14:01 -0700
      Re: equivalent for msem_init(),msem_lock() msem_unlock() in linux Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2014-06-19 09:27 +0300
        Re: equivalent for msem_init(),msem_lock() msem_unlock() in linux Rainer Weikusat <rweikusat@mobileactivedefense.com> - 2014-06-19 12:04 +0100
          Re: equivalent for msem_init(),msem_lock() msem_unlock() in linux chaudhary.nabin@gmail.com - 2014-06-19 06:54 -0700
  Re: equivalent for msem_init(),msem_lock() msem_unlock() in linux Rainer Weikusat <rweikusat@mobileactivedefense.com> - 2014-06-19 12:12 +0100

csiph-web