Explain the scheduleworktodo function used in netware, Operating System

Assignment Help:

Explain the ScheduleWorkToDo Function used in Netware

ScheduleWorkToDo(MyThread Function, arg, workToDo)

The ScheduleWorkToDo ( ) function is specific to NetWare 4.0. This command will place MyThread Function on the work-to-do list of NetWare.Procedures in this list will be executed as work-to-do items, and before threads on the Run List. Any 32-bit argument (arg) may be passed as well as  worktodo structure to be used internally  by NetWare.

In order for NLMs to  make CLIB calls, they must have associated context. Since the procedure (MyThread Function) is executing  as an OS callback without CLIB context, additional CLIB function calls may be necessary. The SetThreadContextSpecifier( ) can be used to set proper context of the executing thread and tell NetWare which  threads context to assume when making the callback. The discussion of resource ownership and scoping at the end of this chapter has more information about thread context with NetWare.


Related Discussions:- Explain the scheduleworktodo function used in netware

Discuss various services provided by the operating system, List and discuss...

List and discuss the various services provided by the operating system. Program execution - system capability to load a program into memory and to run it. I/O operatio

Explain basic file system file system architecture, Basic File System ...

Basic File System Uses the specific device driver. Deals with blocks of data that are exchanged with the physical device. Concerned with the placement of blocks on

Write note on process, Write note on process, process state? A process ...

Write note on process, process state? A process is in excess of the program code which is sometimes known as text section. It as well includes the current activity as represent

Advantages and disadvantages of thread, OPERATING SYSTEM 1. Describe th...

OPERATING SYSTEM 1. Describe the term operating system. Write down the functions of operating system. 2. Explain Thread? Write down the advantages and disadvantages of threa

Describe the actions of sun ultra sparc processor, Q. The Sun Ultra SPARC p...

Q. The Sun Ultra SPARC processor has numerous register sets that describe the actions of a context switch if the new context is previously loaded into one of the register sets. Wha

Can you give me assistance on my operating system assignment, Can you give ...

Can you give me assistance on my operating system assignment?

Permanently starves cpu-bound programs, Q. Presume that a scheduling algori...

Q. Presume that a scheduling algorithm at the level of short-term CPU scheduling favours those processes that have used the least processor time in the recent past. Why this algori

Direct memory access, A-  In a table format, compare between Programmed I/O...

A-  In a table format, compare between Programmed I/O, Interrupt -driven I/O, and Direct Memory Access (DMA) in terms of basic idea, Advantages, disadvantages, and the operating en

Basic synchronization, (Add synchronization to your solutions to HW 3 to el...

(Add synchronization to your solutions to HW 3 to eliminate all of the race conditions.  You should not remove any of the sleep() commands that you used to produce the race conditi

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