Explain the beginthread function used in the netware, Operating System

Assignment Help:

Explain the BeginThread Function used in the NetWare example code

BeginThread(MyThread Function, stack,size, arg)

BeginThread creates a thread and places it on the NetWare run queue. The new thread's context is the current running NLM and the current thread group. Context will be discussed later in this section and is also discussed in depth in "Resource Ownership and Control" later in this chapter.

The developer must pass a function pointer (MyThread Function), an optional stack pointer(size) and an optional 32-bit argument (arg). If the stack pointer is passed as NULL NetWare will create, maintain, and free a stack for the thread begin created. If the stack size passed is 0, NetWare will assign default stack size. The 32-bit argument will be passed to the My ThreadFunction when initiated.

 


Related Discussions:- Explain the beginthread function used in the netware

Hashed page table, W hat is hashed page table & method of hashed page tabl...

W hat is hashed page table & method of hashed page table with details

Define maintaining data on a per client basis, Define Maintaining Data on a...

Define Maintaining Data on a Per Client Basis Perhaps the most dramatic syntactical programming change for the application developer of client – server applications is maintain

Nested Macro calls, . Nested Macro calls are expanded using the

. Nested Macro calls are expanded using the

Explain about directory structure, Normal 0 false false fal...

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

Prepare gantt charts and determine the average waiting time, Prepare Gantt ...

Prepare Gantt Charts and Determine the Average Waiting Time 1. Classify the interaction among the processes on the basis if degree to which they are aware of each  other's exi

Explain time-sharing environment, In a multiprogramming and time-sharing en...

In a multiprogramming and time-sharing environment, several users share the system simultaneously. This situation can result in various security problems. a

Utility programs, Utility Programs: those programs which are not the essen...

Utility Programs: those programs which are not the essential part of operating system. But they provide different utilities / features to the users e.g. MS-DOS : Fdisk, FORMAT, AT

Explain tree structured directories structure, Tree structured directories:...

Tree structured directories: This is the main common directory structure. The tree has a root directory as well as every file in the system has a unique path name. A directory

Dynamic scheduling, Dynamic scheduling : The number of thread in a program...

Dynamic scheduling : The number of thread in a program may be changed during the course of operation. Dynamic priority scheduling is a kind of scheduling algorithm in which the pr

What is independent process, What is independent process? A process is ...

What is independent process? A process is independent it cannot influence or be affected by the other processes implementing in the system. Any process does not share data with

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