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.
What is scheduler? A process migrates among the various scheduling queues throughout its life time. The OS must choose processes from these queues in some fashion. This selecti
What are a safe state and an unsafe state? Answer: A state is safe if the system can allocate resources to every process in some order and still avoid a deadlock. A system is
What does it mean for something to be thread-safe? By saying that X is thread-safe, we mean that if multiple threads use X at the same time, we don't have to worry about concurrenc
What is macro expansion
Elimination of common sub expression during code optimization An optimizing transformation is a rule for rewriting a section of a program to enhance its execution efficiency wi
what is multilevel page table and its applications?
Entry-sequenced file organization The records in an entry-sequenced file are store up in the order they are written into the file. New records are for all time appended to
Q. How Program execute in operating system? Program execution: Operating system loads a program in memory and executes the program. The program should be able to end its exec
Problem: Within a corporate environment, there are usually many servers located across various departments. Naming of servers is often a tedious task. In many circumstances, w
Deadlocks can be detected while the program is running, by running cycle detection algorithms on the graph that de?nes the current use of resources. De?ne this graph as follows:
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