g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: RE: RFC: libCom/osi - new spinlock API
From: <nick.rees@diamond.ac.uk>
To: <Ralph.Lange@gmx.de>, <core-talk@aps.anl.gov>
Date: Thu, 25 Oct 2012 01:00:13 +0000
Hi Ralph,

I don't know the details, but I suspect this will impact the large number of sites (like Diamond) that have not upgraded to VxWorks 6. This may be because when EPICS moved to 3.14 and the IOC became portable, a lot of us decided that our futures lay elsewhere. Our VxWorks (5.5.1) compiler says:

[npr78@cs03r-sc-serv-16 ~]$ ccppc -v
Reading specs from /dls_sw/targetOS/vxWorks/Tornado-2.2/host/i386-Linux/bin/../lib/gcc-lib/powerpc-wrs-vxworks/gcc-2.96/specs
gcc version gcc-2.96 (2.96+) 19990621 AltiVec

... and the VxWorks unistd.h defines:

/* POSIX defines */

#ifndef _POSIX_VERSION
#define _POSIX_VERSION 199506L
#endif

#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 199506L
#endif

Cheers

Nick Rees
Principal Software Engineer           Phone: +44 (0)1235-778430
Diamond Light Source                  Fax:   +44 (0)1235-446713

________________________________________
From: core-talk-bounces@aps.anl.gov [core-talk-bounces@aps.anl.gov] on behalf of Ralph Lange [Ralph.Lange@gmx.de]
Sent: 24 October 2012 14:25
To: core-talk@aps.anl.gov
Subject: Re: RFC: libCom/osi - new spinlock API

Hi,

to get access to the Posix spinlocks, one must set
-D_POSIX_C_SOURCE=200112L (or greater).
Currently, base uses -D_POSIX_C_SOURCE=199506L.

Should we change this globally? Would this break anything?

Clueless,
~Ralph

-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





Replies:
Re: RFC: libCom/osi - new spinlock API Andrew Johnson
References:
RFC: libCom/osi - new spinlock API Ralph Lange
Re: RFC: libCom/osi - new spinlock API Andrew Johnson
Re: RFC: libCom/osi - new spinlock API Ralph Lange
Re: RFC: libCom/osi - new spinlock API Andrew Johnson
Re: RFC: libCom/osi - new spinlock API Ralph Lange

Navigate by Date:
Prev: Re: RFC: libCom/osi - new spinlock API Ralph Lange
Next: Re: RFC: libCom/osi - new spinlock API Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: Re: RFC: libCom/osi - new spinlock API Ralph Lange
Next: Re: RFC: libCom/osi - new spinlock API Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 26 Nov 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·