Natools

Check-in [610b834d9d]
Login
Overview
Comment:references: add Is_Last primitive

It's almost a break in abstraction, and it's unsafe to use when the reference can be accessed concurrently. However it might have some use in some context, to free the last reference when checked in a protected or thread-local context, to build a crude garbage collection system.

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 610b834d9dfa299d29c0efd41365b0f6d159c65e
User & Date: nat on 2014-08-24 20:31:35
Other Links: manifest | tags
Context
2014-08-25
19:57
reference_tests: also test the new Is_Last function check-in: 111a93ca40 user: nat tags: trunk
2014-08-24
20:31
references: add Is_Last primitive

It's almost a break in abstraction, and it's unsafe to use when the reference can be accessed concurrently. However it might have some use in some context, to free the last reference when checked in a protected or thread-local context, to build a crude garbage collection system. check-in: 610b834d9d user: nat tags: trunk

2014-08-22
17:05
time_io-tests: add a check with an invalid leap-second time, to reach full coverage check-in: c517c2f45f user: nat tags: trunk
Changes

Modified src/natools-references__intel.adb from [bc469c4162] to [e77d1335d9].    [diff]

Modified src/natools-references__intel.ads from [0b0ecf7c36] to [8d5344f138].    [diff]

Modified src/natools-references__protected.adb from [3bfa20ca4b] to [440d417607].    [diff]

Modified src/natools-references__protected.ads from [18a0c38fdf] to [3cec4789c7].    [diff]

Modified src/natools-references__unsafe.adb from [4a7ba030d7] to [6254848d3e].    [diff]

Modified src/natools-references__unsafe.ads from [65f8ced397] to [c4d7238aec].    [diff]