Explain the createthread function used in the windows nt, Civil Engineering

Assignment Help:

Explain the CreateThread Function used in the Windows NT

CreateThread(security, size, MyThreadFunction, arg, flag,&tID )

The CreateThread function call is used to start an instance of a Thread and to begin its execution. The developer must pass a security descriptor (security), a stack size (size), start address for the new thread (My ThreadFunction), a 32-bit argument to be passed to the new thread (arg), and create flags (flags). Upon successful initiation of the thread, the threadID will be returned in tID.

It is the responsibility of Windows NT to create, expand, and free the stack for the target thread. A security descriptor may also be passed to the Create function in order to enforce access rules for the thread handle. With Windows NT, the underlying security system can restrict access to handles. If no security descriptors are provided, the handle returned has full access rights. In addition, optional flags allow the thread to be started in a suspended state.


Related Discussions:- Explain the createthread function used in the windows nt

What is meaning of washers while using bolts, Question What is meaning ...

Question What is meaning of washers while using bolts? Answer Purpose of installing washers in a classic bolting system is to distribute loads under bolt heads and nu

Explain the term - uniaxial - biaxial -triaxial prestressing, Explain the t...

Explain the term - Uniaxial - Biaxial -Triaxial Prestressing These terms refer to cases when the concrete is prestressed in only one direction, in two mutually perpendicular di

Constraction, sir what is means by share force

sir what is means by share force

Advantages and disadvantages of water transport, Advantages and Disadvantag...

Advantages and Disadvantages of Water Transport: The following are the advantages of water transport: (a)        Since the vessels travel on water, no investment is needed

States of stress - principal stresses, States of stress - principal stresse...

States of stress - principal stresses: Now let us consider a few cases of solids of the similar material (mild steel) under various states of stress as display in Figure. The

Define diving equipments for underwater inspection of bridge, Define Diving...

Define Diving Equipments for Underwater Inspection of Bridge? Generally two types of diving, Scuba diving and surface supplied air diving, is employed in underwater inspection

Survey, 3-d figure of line ranger

3-d figure of line ranger

Surveying, what is the trignomerty leveling

what is the trignomerty leveling

Dielectric materials are what kind of materials, Dielectric materials are w...

Dielectric materials are what kind of materials ? Answer: It is  insulating materials.

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