9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Is POSIX:clock_gettime(2) in APE somewhere/anywhere?
@ 2021-10-11 18:39 tlaronde
  2021-10-11 19:12 ` ori
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: tlaronde @ 2021-10-11 18:39 UTC (permalink / raw)
  To: 9fans

Hello,

LaTeX now requires primitives (extensions) that are not provided by TeX
nor e-TeX.

I have hence developed a new engine: Prote, that adds the required
extensions and that will be the main target for the future enhancements.

(The main purpose is to have one and only one engine, TeX compatible,
e-TeX compatible and LaTeX compatible, with only libc requirements and
BSD like licence, in order to set TeX as the OSes typographical engine.)

Amongst the extensions I had to add, there are two bits that go beyond
ISO C libc. One is a way to get elapsed time and unfortunately clock(3)
is not the answer. I then used POSIX.1:clock_gettime(2) with CLOCK_MONOTONIC
or CLOCK_REALTIME if the previous is not defined.

But is clock_gettime(2) available in APE in any instance of Plan9 or is
there a routine achieving the same purpose?

TIA,
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T1992d89fd8b382c7-M8861017ed3da89d5efd38e78
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-10-15 11:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 18:39 [9fans] Is POSIX:clock_gettime(2) in APE somewhere/anywhere? tlaronde
2021-10-11 19:12 ` ori
2021-10-12  7:04   ` tlaronde
2021-10-11 19:20 ` Sigrid Solveig Haflínudóttir
2021-10-12  7:05   ` tlaronde
2021-10-12 18:05 ` tlaronde
2021-10-14 19:58   ` Thaddeus Woskowiak
2021-10-14 21:54 ` ori
2021-10-15 11:15   ` tlaronde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).