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

Write an equation for this seek time, Q. The accelerating search for descr...

Q. The accelerating search for described in subsequent exercise is typical of hard-disk drives. By contrast floppy disks and several hard disks manufactured before the mid-1980s t

How is it different from the unbounded buffer algori, How is it different f...

How is it different from the unbounded buffer algorithm ? Explain.

Explain the resource ownership and control, Explain the Resource Ownership ...

Explain the Resource Ownership and Control Operating systems are required to handle many different types of resources. CPU , memory, and I/O devices  are some of the varied sys

What are the methods for handling deadlocks, What are the methods for handl...

What are the methods for handling deadlocks? The deadlock problem can be dealt with in one of the three ways: a. Use a protocol to prevent or avoid deadlocks, ensuring that

Shell scripting in both a windows and unix environment, Purpose This is...

Purpose This is intended to help you develop your understanding of shell scripting in both a Windows and Unix environment. Deliverables For both the first and second op

How does user specify block to be fetched in direct access, How does user s...

How does user specify block to be fetched in direct access? By specifying the relative block number, relative to first block in file, which is block 0.

Define most common phase structured grammar, Which is most common phase str...

Which is most common phase structured grammar? Most common phase structured grammar is Context – Sensitive

Multilevel queue scheduling algorithm suffer from starvation, 1. Suggest so...

1. Suggest some mechanism(s) to lower the dispatch latency while scheduling for a real-time system. Also, discuss any trade-off or consequent constraint associated with it, if a

Clocks in distributed systems, Clocks in distributed systems : a. Why ar...

Clocks in distributed systems : a. Why are clocks difficult to synchronize in distributed systems? b. What features in a system assume that the clocks are (reasonably) synchr

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