How can application use memory via the win32 api, Operating System

Assignment Help:

Q. Explain some of the ways an application can use memory via the Win32 API.

Answer: (1) Virtual memory offers several functions that allow an application to reserve and release memory and specifying the virtual address at which the memory is allocated.

(2) A file possibly memory mapped into address space providing a means for two processes to share memory.

(3) When a Win32 procedure is initialized it is created with a default heap. Private heaps is able to be created that provide regions of reserved address space for applications. Thread management functions are offers to allocate and control thread access to private heaps.

(4) A thread-local storage mechanism offers a way for global and static data to work properly in a multithreaded environment. Thread-lock storage assign global storage on a per-thread basis.


Related Discussions:- How can application use memory via the win32 api

Define unix device driver, Define UNIX device driver The UNIX device dr...

Define UNIX device driver The UNIX device driver is structured into two halves called top half and bottom half

Define dynamic linking, Define dynamic linking. Dynamic linking is same...

Define dynamic linking. Dynamic linking is same to dynamic loading, rather that loading being postponed unless execution time, linking is postponed. This feature is usually use

Define implementation of segmentation with an example, IMPLEMENTATION OF SE...

IMPLEMENTATION OF SEGMENTATION WITH AN EXAMPLE Segmentation is a memory-management scheme that represents the user view of memory. A logical address space is the collection of

Operation on file system, Question : The file system is the most visibl...

Question : The file system is the most visible aspect of an operating system. It provides the mechanism for on-line storage and access to both data and programs of the operatin

Briefly explain about file system implementation, Briefly explain about fil...

Briefly explain about file system implementation? Several on-disk and in-memory structures are used to execute a file system. On disk, the file system may have information abou

MICROKERNEL, ADVANTAGES OF MICROFERNEL IN YSTEM DESIGN?

ADVANTAGES OF MICROFERNEL IN YSTEM DESIGN?

CPU, TURNAROUND TIME

TURNAROUND TIME

Linux operation system, wat are the commands used for creating the file hie...

wat are the commands used for creating the file hierarchy

Designing issues in a network -fault tolerance, Fault tolerance Machine...

Fault tolerance Machine failures, Communication faults, storage device crashes, and decays of storage media should be tolerated by the system to some extent. A fault tolerant s

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd