Groups | Search | Server Info | Login | Register


Groups > comp.std.c > #6643

Making the creation of atomic_flag optional

From Philipp Klaus Krause <pkk@spth.de>
Newsgroups comp.std.c
Subject Making the creation of atomic_flag optional
Date 2024-02-02 11:18 +0100
Message-ID <upifhv$19809$1@solani.org> (permalink)

Show all headers | View raw


Currently, atomics are an all-or-nothing choice (via __SDTC_NO_ATOMICS__).

I'd like to see a third option: support atomics, except for the creation 
of atomic_flag from allocated storage (or raw character arrays). This 
would make it feasible to implement atomics for some low-end systems, 
that otherwise can't support them efficiently.

Your opinions on the proposal and the proposed wording are welcome:
http://www.colecovision.eu/stuff/proposal-atomic_flag.html

Philipp

Back to comp.std.c | Previous | NextNext in thread | Find similar


Thread

Making the creation of atomic_flag optional Philipp Klaus Krause <pkk@spth.de> - 2024-02-02 11:18 +0100
  Re: Making the creation of atomic_flag optional David Brown <david.brown@hesbynett.no> - 2024-02-03 12:09 +0100
    Re: Making the creation of atomic_flag optional Philipp Klaus Krause <pkk@spth.de> - 2024-02-08 08:44 +0100

csiph-web