Programmatic Interface
11. Programmatic Interface
So many functions, you'd go crazy!
| Name | ||||
| procedure | |||
| Synopsis | ||||
(open-persistent-store file) (read-persistent-store file) |
||||
| Description | ||||
|
The (open-persistent-store) procedure is used to access an existing persistent object store. The root descriptor is read in and an initial set of virtual memory mappings are created so that the graph of objects in the store may begin to be accessed. The |
||||
| Restrictions | ||||
|
An LSS volume may not be open by more than one process
for write at a time (this is enforced through the use of
A volume may not be open for read and write at the same time. However, this restriction is not enforced. |
||||
| Errors | ||||
|
The following conditions may be signalled.
|
||||
| Name | ||||
| procedure | |||
| Synopsis | ||||
(create-persistent-store file)
|
||||
| Description | ||||
|
The (create-persistent-store) procedure is used to
initialize a persistent object store on disk and
open it for subsequent use. The persistent store so
created is not initialized until the first call to
|
||||
| Restrictions | ||||
|
An LSS volume may not be open by more than one process
for write at a time (this is enforced through the use of
A volume may not be open for read and write at the same time. However, this restriction is not enforced. |
||||
| Errors | ||||
|
The following conditions may be signalled.
|
||||
In fact, it will fail with a mysterious LSS Error 5001