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

Principles of operating systems, Objective - Tiny Shell (tish) In this...

Objective - Tiny Shell (tish) In this exercise you will write a small shell program to run different programs in foreground and background mode. Background Usually when

Explain disadvantages of the two-level directory, How do we overcome the di...

How do we overcome the disadvantages of the two-level directory? Give links from one user directory to another, creating path names; system files become available by letting th

Briefly discuss on page replacement, Briefly discuss on page replacement? ...

Briefly discuss on page replacement? Page replacement approach is fixed as follows. If no frame is free, we search one that is not presently being used and free it. We can fre

List five services provided by an operating system, List five services prov...

List five services provided by an operating system. Explain how each provides convenience to the users. Explain also in which cases it would be impossible for user-level programs t

Why is rotational latency is not taken in disk scheduling, Why is rotationa...

Why is rotational latency usually not considered in disk scheduling? How would you modify SSTF, SCAN, and C-SCAN to include latency optimization? Most disks do not export their

What the different paging techniques, The different paging techniques are ...

The different paging techniques are 1. Multilevel paging or hierarchical paging method: In definite cases the page table may consist up to 1 million entries. This would be

Explain the architecting for threads, Explain the Architecting For Threads ...

Explain the Architecting For Threads When available, threads are an integral part of any multitasking server application program. It is important that the operating system prov

What are the objectives of operating system?, What are the objectives of op...

What are the objectives of operating system? Objectives of OS 1.      Convenience: An OS makes a computer more suitable to use. 2.      Efficiency : An OS allows t

Explain the sequence of messages in rpc mechanism, Q. Once more considering...

Q. Once more considering the RPC mechanism consider the exactly once semantic. Does the algorithm for implementing this semantic implement correctly even if the ACK message back to

Batch system, what is a batch system give me answer in simple words so that...

what is a batch system give me answer in simple words so that i can understand

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