June 2001
Intermediate to advanced
688 pages
19h 18m
English
Berkeley DB currently disallows the DB_TRUNC flag to DB→open. The operations that this flag represents are not fully supported under VxWorks 5.4.
The memory on VxWorks is always resident and fully shared among all tasks running on the target. For this reason, the DB_SYSTEM_MEM flag is implied for any application that does not specify the DB_PRIVATE flag. Additionally, applications must use a segment ID to ensure that different applications do not overwrite each other’s database environments. See the DBENV→set_shm_key function for more information. Also, the DB_LOCKDOWN flag has no effect.
The DB→sync function is implemented using an ioctl call into the filesystem driver with the FIOSYNC command. Most, but not all filesystem drivers ...