Jump to content

Copy-on-write

From Simple English Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Copy-on-write (COW) is a means of optimisation in Computer Science. When several callers ask for the same resource, they can all be given a pointer to the same address. Only when they try to change the resource does a local copy need to be made. This happens without the caller noticing. It is done so that all the other callers do not see the change they did not do.