Prior to updating a database entry, an update task invalidates a valid
indicator (e.g., a bit) associated with the database entry. The update
task waits for any other tasks (e.g., user tasks) that are accessing the
database entry to complete their processing. In particular, a
synchronization register holds a synchronization entry (e.g., a bit) for
each user task that is created by a micro controller. The update task
sets each synchronization entry of the synchronization register to a
first value. As each user task completes its processing, the
synchronization entry associated with the user task in the
synchronization register is set to a second value (e.g., the
synchronization bit is reset). The update task monitors the
synchronization register, and, when each synchronization entry has been
set to the second value, the update task performs its update of the
database entry.