* [FEATURE REQUEST] Implement gcc_jit_sig_atomic_type.
@ 2019-01-01 0:00 Marc Nieper-Wißkirchen
0 siblings, 0 replies; only message in thread
From: Marc Nieper-Wißkirchen @ 2019-01-01 0:00 UTC (permalink / raw)
To: jit
Each target of gcc defines `SIG_ATOMIC_TYPE', which is then used to
implement the built-in preprocessor macro `__SIG_ATOMIC_TYPE__', which
is then used by <signal.h> to typedef `sig_atomic_t'.
This type is used, for example, when writing POSIX-compliant signal handlers.
It is defined as: "An integer type which can be accessed as an atomic
entity even in the presence of asynchronous interrupts made by
signals."
This is a feature request to expose this type to libgccjit by
providing the following function:
gcc_jit_type *gcc_jit_sig_atomic_type (gcc_jit_context *ctxt)
-- Marc
P.S.: Depending on my spare time, I may be able to write a patch that
would implement this feature request.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-14 15:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01 0:00 [FEATURE REQUEST] Implement gcc_jit_sig_atomic_type Marc Nieper-Wißkirchen
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 read-only IMAP folder(s) and NNTP newsgroup(s).