Groups | Search | Server Info | Login | Register
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Newsgroups | comp.std.c |
| Subject | Re: Making the creation of atomic_flag optional |
| Date | 2024-02-03 12:09 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <upl6t2$33jod$1@dont-email.me> (permalink) |
| References | <upifhv$19809$1@solani.org> |
On 02/02/2024 11:18, Philipp Klaus Krause wrote: > 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 I think it is fine to implement parts of the atomics - you just can't define the __SDTC_NO_ATOMICS__ symbol unless you cover it all.
Back to comp.std.c | Previous | Next — Previous in thread | Next in thread | Find similar
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