Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Explain DosCreateThread Functions Used in the OS/2
DosCreateThread(&threadID,MyThreadFunction,arg,flags,stackSize)
DosCreateThread creates a thread within the context of the currently executing process. This function call returns the thread ID of the newly created thread in &threadID.The developer must pass a function pointer (MyThreadFunction), a stack size (stack Size), and an optional 32-bit argument (arg).
When the DosCreateThread( ) is called, OS/2 allocates a stack, (sackSize)size and places an asynchronous unit of execution on the runqueue. OS/2 will manage all aspects of the stack, including expansion and deletion. The 32-bit argument will be passed to the MyThreadFunction when initiated. OS/2 also allows the thread to be started in a suspended state with use of the flags parameter.
Explain a working of file control block A file control block (FCB) has information about the file, containing ownership, permission, and location of the file contents. The log
Present your own fully documented and tested programming example illustrating the prevention of a data race in a parallelised program. This is an example where total number of p
What are the methods for handling deadlocks ? The technique for handling the deadlocks are: We are able to use protocol to prevent or avoid the deadlock, make sure tha
What is meant by context switch? Switching the CPU to another process needs saving the state of the old process and loading the saved state for the latest process. This task is
List the various file attributes. A file has particular other attributes, which vary from one operating system to another, but typically having of these: Name, identifier, typ
Write a short note about schedulers. Processes migrate between the various scheduling queues throughout its life time. The operating system should select for scheduling purpose
In fixed portioning scheme, what are the advantages of using unequal- size partitions? With unequal-size partitions there are two probable ways to assign process to partitions.
Explain the TlsSetValue (TLSindex, dataPtr)Function The TlsSetValue function associates the dataPtr passed as a parameter as local storage for the requesting thread. The asso
Define the Global vs. local variables It is also important to discuss the scope of resources being granted to the application program. Variable scoping is defined as the acces
While it is hard to resolve a deadlock which has been detected, fortunately it is fairly easy to prevent deadlocks from ever happening. The key is that the conditions above for dea
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd