[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::c_plus_plus

Title:C++
Notice:Read 1.* and use keywords (e.g. SHOW KEY/FULL KIT_CXX_VAX_VMS)
Moderator:DECCXX::AMARTIN
Created:Fri Nov 06 1987
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3604
Total number of notes:18242

3404.0. "POSIX_4D9 macro not defined leads to getclock not being declared." by BACHUS::SABLON (Mich�le Sablon, TP/IM Support Belgium 856-7238) Tue Jan 21 1997 08:20

T.RTitleUserPersonal
Name
DateLines
3404.1TLE::WHITMANTue Jan 21 1997 10:4411
3404.2What should set the macro ?BACHUS::SABLONMich�le Sablon, TP/IM Support Belgium 856-7238Tue Jan 21 1997 12:595
3404.3probably a header file bugDECC::SEIGELTue Jan 21 1997 14:437
3404.4QAR 51144BACHUS::SABLONMich�le Sablon, TP/IM Support Belgium 856-7238Wed Jan 22 1997 05:533
3404.5getclock() defined as "Trial Use" => have to define POSIX_4D9 macro to use it.BACHUS::SABLONMich�le Sablon, TP/IM Support Belgium 856-7238Tue Feb 11 1997 04:3812
For info, I provide you the answer to the QAR provided by engineering. Thanks to
them.

� [2/10/97 stuarth]
� getclock() is obsolete and alternate functions such as
� gettimeofday() or clock_gettime(), or time(3) should be used.
� The documentation for getclock() lists it as "Trial Use".
� If getclock() is considered acceptable, then define POSIX_4D9 when
� including sys/timers.h.  There is no connection between getclock()
� and PTHREAD_USE_D4, as suggested by this QAR report.

/MSB