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.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,030 |
Nodes: | 10 (0 / 10) |
Uptime: | 68:00:54 |
Calls: | 13,350 |
Calls today: | 2 |
Files: | 186,574 |
D/L today: |
3,770 files (1,016M bytes) |
Messages: | 3,358,709 |